Browse Source

test: fix wait on integration tests

Typo was causing failed tests to look like they passed on CI.
Anthony Romano 9 years ago
parent
commit
e312bb675c
1 changed files with 1 additions and 1 deletions
  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