Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add end to end tests #128

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add end to end tests #128

wants to merge 1 commit into from

Conversation

cmurphy
Copy link
Contributor

@cmurphy cmurphy commented Mar 22, 2025

Depends on #113

TODO:

  • add to github workflow
  • add DSSE entry test

Summary

Release Note

Documentation

Copy link

codecov bot commented Mar 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 26.52%. Comparing base (39226e2) to head (fc9f60a).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #128   +/-   ##
=======================================
  Coverage   26.52%   26.52%           
=======================================
  Files          28       28           
  Lines        1836     1836           
=======================================
  Hits          487      487           
  Misses       1314     1314           
  Partials       35       35           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Colleen Murphy <colleenmurphy@google.com>
Comment on lines +22 to +34
echo "waiting up to 2 minutes for system to start"
count=0
until [ $(docker inspect rekor-tiles-rekor-1 | jq -r .[0].State.Health.Status) == "healthy" ];
do
if [ $count -eq 24 ]; then
echo "timeout reached"
exit 1
else
echo -n "."
sleep 5
let 'count+=1'
fi
done
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can replace this with

docker compose up --wait --wait-timeout 60

And with the compsoe.yml changes in #142 it can be ready much more quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants