mirror of
https://github.com/tw93/Mole.git
synced 2026-02-04 13:16:47 +00:00
update core
This commit is contained in:
@@ -108,6 +108,7 @@ setup() {
|
||||
|
||||
@test "get_invoking_user executes quickly" {
|
||||
local start end elapsed
|
||||
local limit_ms="${MOLE_PERF_GET_INVOKING_USER_LIMIT_MS:-500}"
|
||||
|
||||
start=$(date +%s%N)
|
||||
for i in {1..100}; do
|
||||
@@ -117,7 +118,7 @@ setup() {
|
||||
|
||||
elapsed=$(( (end - start) / 1000000 ))
|
||||
|
||||
[ "$elapsed" -lt 200 ]
|
||||
[ "$elapsed" -lt "$limit_ms" ]
|
||||
}
|
||||
|
||||
@test "get_darwin_major caches correctly" {
|
||||
|
||||
Reference in New Issue
Block a user