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

op-e2e: Organize e2e system tests in subdirs #11939

Merged
merged 5 commits into from
Sep 17, 2024
Merged

op-e2e: Organize e2e system tests in subdirs #11939

merged 5 commits into from
Sep 17, 2024

Conversation

protolambda
Copy link
Contributor

Description

This organizes the op-e2e system tests (the ones using the old System/SystemConfig into sub-dirs within a system package.

The engine-only system tests went into a new op-e2e/opgeth package. This includes fastlz, because the fastlz depend on the same engine setup (at some point we can clean that up).

The System/SystemConfig itself are in the new op-e2e/system/e2esys package.

The e2e InitParallel / conditional-test helpers are still in the root of the e2e package.
Each of the system packages has its own TestMain that calls op_e2e.RunMain, so we can still apply global setting changes where necessary (like in the external-EL mode).

I split the mega system_test.go into smaller files, categorized into the subdirs based on their function.
Helper functions for transactions went into op-e2e/system/helpers package. These can move to e2eutils once we remove the SystemConfig/System specific parts about them.

Tests

Organizes tests. No new / removed tests.

Copy link
Contributor

@ajsutton ajsutton left a comment

Choose a reason for hiding this comment

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

LGTM. Should just need to update the path to op-program to get the tests passing.

@ajsutton ajsutton added this pull request to the merge queue Sep 17, 2024
Merged via the queue into develop with commit c72a75e Sep 17, 2024
62 of 64 checks passed
@ajsutton ajsutton deleted the organize-e2e branch September 17, 2024 09:45
samlaf pushed a commit to samlaf/optimism that referenced this pull request Nov 10, 2024
* op-e2e: organize system tests

* op-e2e: update CI make targets

* op-e2e: fix artifacts file paths

* op-e2e: Fix paths.

* op-e2e: Fix paths again

---------

Co-authored-by: Adrian Sutton <adrian@oplabs.co>
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