Skip to content

Commit a711969

Browse files
authored
Merge pull request #12511 from ethereum/deterministic-test-order-in-trident-ext-test
Deterministic test order in Trident external test
2 parents 10c954f + cc49eed commit a711969

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/externalTests/trident.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ function test_fn {
3535
TS_NODE_TRANSPILE_ONLY=1 npx hardhat test --no-compile $(
3636
# TODO: We need to skip Migration.test.ts because it fails and makes other tests fail too.
3737
# Replace this with `yarn test` once https://github.com/sushiswap/trident/issues/283 is fixed.
38-
find test/ -name "*.test.ts" ! -path "test/Migration.test.ts"
38+
find test/ -name "*.test.ts" ! -path "test/Migration.test.ts" | LC_ALL=C sort
3939
)
4040
}
4141

4242
function trident_test
4343
{
4444
local repo="https://github.com/sushiswap/trident"
4545
local ref_type=commit
46+
# FIXME: Switch back to master branch when https://github.com/sushiswap/trident/issues/303 gets fixed.
4647
local ref="0cab5ae884cc9a41223d52791be775c3a053cb26" # master as of 2021-12-16
4748
local config_file="hardhat.config.ts"
4849
local config_var=config

0 commit comments

Comments
 (0)