Skip to content

Commit

Permalink
run smoke test only for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
imabdulbasit committed Oct 30, 2024
1 parent 00fd49d commit 9a25b97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
env:
NEXTEST_PROFILE: integration
INTEGRATION_TEST_SEQUENCER_VERSION: 02
run: cargo nextest run --locked --release --all-features --verbose --nocapture
run: cargo nextest run --locked --release --all-features --verbose --nocapture --smoke
timeout-minutes: 40

- name: Process Compose Down
Expand Down
5 changes: 4 additions & 1 deletion tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,12 @@ impl TestConfig {
// and proceed against any working services, but we run the
// risk of testing against the wrong ones. For example, legacy
// builder may be alive during marketplace test.
//
// If no version is specified, we default to V2,
// which is the initial mainnet version without any upgrades.
let sequencer_version: u8 = dotenvy::var("INTEGRATION_TEST_SEQUENCER_VERSION")?
.parse()
.unwrap();
.unwrap_or(2);

// Varies between v0 and v3.
let load_generator_url = if sequencer_version >= 3 {
Expand Down

0 comments on commit 9a25b97

Please sign in to comment.