File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ $file = $Env:windir+'\System32\drivers\etc\hosts'; $Env:SAMPLE_IP+' sample' | Ad
33# this will validate that we have a proper set in the hosts file and access the sample ip
44$connection = New-Object System.Net.Sockets.TcpClient(" sample" , 8000 )
55if ($connection.Connected ) {
6- go test - v - mod= vendor . -- client- id $Env: CLIENT_ID -- client- secret $Env: CLIENT_SECRET -- project- id $Env: PROJECT_ID -- sample- url $Env: SAMPLE_URL -- redirect- url $Env: REDIRECT_URL -- sample- name $Env.SAMPLE_NAME -- skip-modify - tests $Env: SKIP_MODIFY_TESTS
6+ go test - v - mod= vendor . -- client- id $Env: CLIENT_ID -- client- secret $Env: CLIENT_SECRET -- project- domain $Env: PROJECT_DOMAIN -- sample- url $Env: SAMPLE_URL -- redirect- url $Env: REDIRECT_URL -- sample- name $Env.SAMPLE_NAME -- skip-modify - tests $Env: SKIP_MODIFY_TESTS
77 exit $LASTEXITCODE
88} else {
99 Write-Host " Tests cannot be run as the sample's ip $Env: SAMPLE_IP is not accessible"
You can’t perform that action at this time.
0 commit comments