Skip to content

Commit

Permalink
Fix the e2e
Browse files Browse the repository at this point in the history
- The e2e is failing here: https://github.com/guacsec/guac/actions/runs/9859126595/job/27222088392, and this should fix the error
- This issue is being caused because of a race condition.

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
  • Loading branch information
nathannaveen committed Jul 9, 2024
1 parent 153f94e commit 818a08e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/testing/e2e/e2e
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ duplicate_schema

# Loop through ingestion commands
for command in "${ingestion_commands[@]}"; do
echo @@@@ Waiting
sleep 60

echo @@@@ Running ingestion command: "$command" | tee -a "$LOG_FILE"
eval "$command"
go run ${GUAC_DIR}"/cmd/guacone" certifier osv -p=false
Expand All @@ -151,9 +154,6 @@ for command in "${ingestion_commands[@]}"; do
exit 1
fi

echo @@@@ Waiting
sleep 60

echo @@@@ Running queries and validating output

id1=$(gql-cli http://localhost:8080/query -o PkgQ5 < "$queries" | jq -r ' .packages[0].namespaces[0].names[0].id ')
Expand Down

0 comments on commit 818a08e

Please sign in to comment.