Skip to content

Commit

Permalink
chore: Move tests around
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista committed Jan 27, 2025
1 parent 863ad54 commit fb85670
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
test-e2e:
bats test/e2e/tests/*.bats
bats test/e2e/**/*.bats
8 changes: 5 additions & 3 deletions test/e2e/tests/isthmus.bats → test/e2e/isthmus/isthmus.bats
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
setup() {
load "../lib/bats-support/load.bash"
load "../lib/bats-assert/load.bash"
load "../../lib/bats-support/load.bash"
load "../../lib/bats-assert/load.bash"
}

@test "should have isthmus time if isthmus_time_offset is configured" {
local ENCLAVE_ID=op-isthmus--001
local ARGS_FILE=$BATS_TEST_DIRNAME/assets/kurtosis_args_isthmus.yaml
assert [ -f "$ARGS_FILE" ]

# First we start the enclave
run kurtosis run --enclave $ENCLAVE_ID . --args-file test/e2e/tests/assets/kurtosis_args_isthmus.yaml
run kurtosis run --enclave $ENCLAVE_ID . --args-file $BATS_TEST_DIRNAME/assets/kurtosis_args_isthmus.yaml
assert_success

# We get the UUID of the op-geth service
Expand Down

0 comments on commit fb85670

Please sign in to comment.