From 810a3553ea4cc9a724582ed3eab92af9c9107f4d Mon Sep 17 00:00:00 2001 From: anushka <78717608+anushka567@users.noreply.github.com> Date: Fri, 8 Nov 2024 18:28:03 +0530 Subject: [PATCH] Enable gRPC e2e test in louhi pipeline (#2665) * enabling existing e2e tests for grpc in louhi pipeline * removing unused flag --- tools/cd_scripts/e2e_test.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/cd_scripts/e2e_test.sh b/tools/cd_scripts/e2e_test.sh index 9663865655..2920dfeba5 100755 --- a/tools/cd_scripts/e2e_test.sh +++ b/tools/cd_scripts/e2e_test.sh @@ -170,7 +170,6 @@ TEST_DIR_NON_PARALLEL=( # Create a temporary file to store the log file name. TEST_LOGS_FILE=$(mktemp) -GO_TEST_SHORT_FLAG="-short" INTEGRATION_TEST_TIMEOUT=180m function run_non_parallel_tests() { @@ -185,7 +184,7 @@ function run_non_parallel_tests() { local log_file="/tmp/${test_dir_np}_${BUCKET_NAME}.log" echo $log_file >> $TEST_LOGS_FILE # Executing integration tests - GODEBUG=asyncpreemptoff=1 go test $test_path_non_parallel -p 1 $GO_TEST_SHORT_FLAG --integrationTest -v --testbucket=$BUCKET_NAME --testInstalledPackage=true -timeout $INTEGRATION_TEST_TIMEOUT > "$log_file" 2>&1 + GODEBUG=asyncpreemptoff=1 go test $test_path_non_parallel -p 1 --integrationTest -v --testbucket=$BUCKET_NAME --testInstalledPackage=true -timeout $INTEGRATION_TEST_TIMEOUT > "$log_file" 2>&1 exit_code_non_parallel=$? if [ $exit_code_non_parallel != 0 ]; then exit_code=$exit_code_non_parallel @@ -207,7 +206,7 @@ function run_parallel_tests() { local log_file="/tmp/${test_dir_p}_${BUCKET_NAME}.log" echo $log_file >> $TEST_LOGS_FILE # Executing integration tests - GODEBUG=asyncpreemptoff=1 go test $test_path_parallel $GO_TEST_SHORT_FLAG -p 1 --integrationTest -v --testbucket=$BUCKET_NAME --testInstalledPackage=true -timeout $INTEGRATION_TEST_TIMEOUT > "$log_file" 2>&1 & + GODEBUG=asyncpreemptoff=1 go test $test_path_parallel -p 1 --integrationTest -v --testbucket=$BUCKET_NAME --testInstalledPackage=true -timeout $INTEGRATION_TEST_TIMEOUT > "$log_file" 2>&1 & pid=$! # Store the PID of the background process pids+=("$pid") # Optionally add the PID to an array for later done