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

fix: CI failed to run the op e2e tests #85

Merged
merged 4 commits into from
Oct 15, 2024

Conversation

lesterli
Copy link

@lesterli lesterli commented Oct 7, 2024

Summary

This PR:

  • adds a step to the CI e2e_op job to set up the devnet data for OP e2e tests, addressing the issue where the devnet data does not exist. fix: op e2e test #76 (comment)
  • removes the FILTER to fix the e2e_op job issue: "no test to run"
  • adds a new make target to support for the filter

Test Plan

To trigger the CI to check if the op e2e tests work fine.

@lesterli lesterli marked this pull request as ready for review October 7, 2024 11:52
@bap2pecs
Copy link
Contributor

bap2pecs commented Oct 7, 2024

how did you test this PR? not sure if I am missing anything but it still says "no test to run"

image

@lesterli
Copy link
Author

lesterli commented Oct 8, 2024

how did you test this PR?

yes, I tested it locally, all tests are passed.

it still says "no test to run"

it is werid

@bap2pecs
Copy link
Contributor

bap2pecs commented Oct 8, 2024

yes, I tested it locally, all tests are passed.

hmm that's not the right way to test PR like this. to test CI, you need to check if the CI does what it's supposed to do -- by examining the logs :)

@bap2pecs
Copy link
Contributor

bap2pecs commented Oct 9, 2024

Discussed offline. FILTER is probably the root cause. let's

  1. remove it to test our assumption
  2. figure out how to add filter correctly

Comment on lines 115 to 120
test-e2e-op: clean-e2e install-babylond
@go test -mod=readonly -timeout=25m -v $(PACKAGES_E2E_OP) -count=1 --tags=e2e_op

FILTER ?= .
test-e2e-op-filter: clean-e2e install-babylond
@go test -mod=readonly -timeout=25m -v $(PACKAGES_E2E_OP) -count=1 --tags=e2e_op --run ^$(FILTER)$
Copy link
Member

Choose a reason for hiding this comment

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

Good idea on having FILTER for testing certain case 👍

@lesterli lesterli merged commit f94ff9c into base/consumer-chain-support Oct 15, 2024
12 checks passed
@lesterli lesterli deleted the fix/ci-op-e2e-test branch October 15, 2024 01:39
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.

3 participants