mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #12768 from ethereum/euler-timeout-fix-attempt-2
Euler timeout fix: switch to TEST_TIMEOUT variable
This commit is contained in:
commit
c13e611e98
@ -32,7 +32,10 @@ BINARY_PATH="$2"
|
||||
SELECTED_PRESETS="$3"
|
||||
|
||||
function compile_fn { npm run compile; }
|
||||
function test_fn { npx --no hardhat --no-compile test; }
|
||||
function test_fn {
|
||||
# The default timeout of 20000 ms is too short for unoptimized code (https://github.com/ethereum/solidity/pull/12765).
|
||||
TEST_TIMEOUT=100000 npx --no hardhat --no-compile test
|
||||
}
|
||||
|
||||
function euler_test
|
||||
{
|
||||
@ -63,8 +66,6 @@ function euler_test
|
||||
force_hardhat_compiler_binary "$config_file" "$BINARY_TYPE" "$BINARY_PATH"
|
||||
force_hardhat_compiler_settings "$config_file" "$(first_word "$SELECTED_PRESETS")"
|
||||
force_hardhat_unlimited_contract_size "$config_file"
|
||||
# Workaround for the timeout that's too short for unoptimized code (https://github.com/ethereum/solidity/pull/12765)
|
||||
force_hardhat_timeout "$config_file" "" 100000
|
||||
npm install
|
||||
|
||||
replace_version_pragmas
|
||||
|
Loading…
Reference in New Issue
Block a user