Skip to content

Commit

Permalink
feat: include whitelist in test syncs.
Browse files Browse the repository at this point in the history
  • Loading branch information
l-monninger committed Nov 26, 2024
1 parent d9e7a74 commit fd160bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ processes:
setup:
command: |
export AWS_REGION=us-west-2
export MOVEMENT_SYNC="leader::follower-test-$MOVEMENT_SHARED_RANDOM_1<=>{maptos,maptos-storage,movement-da-db}/**"
export MOVEMENT_SYNC="leader::follower-test-$MOVEMENT_SHARED_RANDOM_1<=>{default_signer_address_whitelist,maptos,maptos-storage,movement-da-db}/**"
export MAYBE_RUN_LOCAL=true
export MAYBE_DEPLOY_MCR=true
movement-full-node-setup
Expand Down Expand Up @@ -36,7 +36,7 @@ processes:
export MAPTOS_API_CONNECTION_PORT=31731
export MAPTOS_API_LISTEN_PORT=31731
export DOT_MOVEMENT_PATH=$DOT_MOVEMENT_PATH-follower-1
export MOVEMENT_SYNC="follower::follower-test-$MOVEMENT_SHARED_RANDOM_1<=>{maptos,maptos-storage,movement-da-db}/**"
export MOVEMENT_SYNC="follower::follower-test-$MOVEMENT_SHARED_RANDOM_1<=>{default_signer_address_whitelist,maptos,maptos-storage,movement-da-db}/**"
movement-full-node-setup
depends_on:
build:
Expand Down Expand Up @@ -82,7 +82,7 @@ processes:
export MAPTOS_API_CONNECTION_PORT=32731
export MAPTOS_API_LISTEN_PORT=32731
export DOT_MOVEMENT_PATH=$DOT_MOVEMENT_PATH-follower-2
export MOVEMENT_SYNC="follower::follower-test-$MOVEMENT_SHARED_RANDOM_1<=>{maptos,maptos-storage,movement-da-db}/**"
export MOVEMENT_SYNC="follower::follower-test-$MOVEMENT_SHARED_RANDOM_1<=>{default_signer_address_whitelist,maptos,maptos-storage,movement-da-db}/**"
movement-full-node-setup
depends_on:
build:
Expand Down
4 changes: 2 additions & 2 deletions scripts/tests/container-tests
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Run the first test and capture the exit code
STATUS=$(timeout 4m just movement-full-node docker-compose local.faucet-replicas.test --abort-on-container-failure)
STATUS=$(timeout 2m just movement-full-node docker-compose local.faucet-replicas.test --abort-on-container-failure)
EXIT_CODE=$?

# Clean up before checking the status
Expand All @@ -21,7 +21,7 @@ else
fi

# Run the second test and capture the exit code
STATUS=$(timeout 4m just movement-full-node docker-compose local.test-followers --abort-on-container-failure)
STATUS=$(timeout 2m just movement-full-node docker-compose local.test-followers --abort-on-container-failure)
EXIT_CODE=$?

# Check the exit code and act accordingly
Expand Down

0 comments on commit fd160bc

Please sign in to comment.