mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 13:16:47 +00:00
Optimize automated testing
This commit is contained in:
@@ -32,6 +32,7 @@ setup() {
|
||||
run bash --noprofile --norc -c '
|
||||
set -euo pipefail
|
||||
PATH="/usr/bin:/bin"
|
||||
unset MO_TIMEOUT_INITIALIZED MO_TIMEOUT_BIN
|
||||
source "'"$PROJECT_ROOT"'/lib/core/common.sh"
|
||||
run_with_timeout 1 sleep 0.1
|
||||
'
|
||||
@@ -42,6 +43,7 @@ setup() {
|
||||
run bash --noprofile --norc -c '
|
||||
set -euo pipefail
|
||||
PATH="/usr/bin:/bin"
|
||||
unset MO_TIMEOUT_INITIALIZED MO_TIMEOUT_BIN
|
||||
source "'"$PROJECT_ROOT"'/lib/core/common.sh"
|
||||
run_with_timeout 1 sleep 5
|
||||
'
|
||||
|
||||
Reference in New Issue
Block a user