Преглед изворни кода

Merge pull request #5363 from heyitsanthony/fix-test-wait

test: fix wait on integration tests
Anthony Romano пре 9 година
родитељ
комит
e52fc2d07e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      test

+ 1 - 1
test

@@ -66,7 +66,7 @@ function integration_tests {
 	go test -timeout 10m -v -cpu 1,2,4 $@ ${REPO_PATH}/e2e &
 	e2epid="$!"
 	go test -timeout 15m -v -cpu 1,2,4 $@ ${REPO_PATH}/integration &
-	intpid="$1"
+	intpid="$!"
 	wait $e2epid
 	wait $intpid
 	go test -timeout 10m -v ${RACE} -cpu 1,2,4 $@ ${REPO_PATH}/clientv3/integration