 3460834244
			
		
	
	3460834244
	
	
	
		
			
			It looks OSC tests were not designed to run in parallel because there are some race condition between tests. The gate had a few intermittent failure due to that. This commit temporarily disable parallel execution of test cases. Change-Id: Id912b1e21f35b95d70571ab8adc030572294910c
		
			
				
	
	
		
			30 lines
		
	
	
		
			683 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			683 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| FUNC_TEST_DIR=$(dirname $0)/../zunclient/tests/functional/
 | |
| CONFIG_FILE=$FUNC_TEST_DIR/test.conf
 | |
| 
 | |
| if [[ -n "$OS_AUTH_TOKEN" ]] && [[ -n "$ZUN_URL" ]]; then
 | |
| cat <<END >$CONFIG_FILE
 | |
| [functional]
 | |
| api_version = 1
 | |
| auth_strategy=noauth
 | |
| os_auth_token=$OS_AUTH_TOKEN
 | |
| zun_url=$ZUN_URL
 | |
| END
 | |
| else
 | |
| cat <<END >$CONFIG_FILE
 | |
| [functional]
 | |
| api_version = 1
 | |
| os_auth_url=$OS_AUTH_URL
 | |
| os_identity_api_version = $OS_IDENTITY_API_VERSION
 | |
| os_username=$OS_USERNAME
 | |
| os_password=$OS_PASSWORD
 | |
| os_project_name=$OS_PROJECT_NAME
 | |
| os_user_domain_id=$OS_USER_DOMAIN_ID
 | |
| os_project_domain_id=$OS_PROJECT_DOMAIN_ID
 | |
| os_service_type=container
 | |
| os_endpoint_type=public
 | |
| END
 | |
| fi
 | |
| tox -e functional -- --concurrency=1
 |