Skip to content

Commit

Permalink
ci fix: add logging for everest after test
Browse files Browse the repository at this point in the history
  • Loading branch information
usuletw022 committed Mar 26, 2024
1 parent eaf964c commit 1745c44
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions e2e_tests/run-e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,17 @@ check_health_endpoint() {
run_tests() {
echo "Running test command..."
cd "$TEST_DIR"
go test --tags=e2e ./... -count=1
# TEST_RESULT=$?
go test --tags=e2e -v ./... -count=1
TEST_RESULT=$?
docker-compose logs
cd "$CSMS_DIR"
docker-compose logs
# if [ $TEST_RESULT -eq 0 ]; then
# echo "Tests completed successfully"
# else
# echo "Tests failed"
# fi
go test --tags=e2e -v ./... -count=1
if [ $TEST_RESULT -eq 0 ]; then
echo "Tests completed successfully"
else
echo "Tests failed"
fi

stop_docker_compose_for_everest
stop_docker_compose_for_maeve_csms
Expand Down

0 comments on commit 1745c44

Please sign in to comment.