1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tests: reduce sensitivity/flakyness of vlib/v/slow_tests/crun_mode/crun_test.v

This commit is contained in:
Delyan Angelov 2023-07-31 10:58:30 +03:00
parent d97423d385
commit 618961fab5
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -35,7 +35,7 @@ fn test_crun_simple_v_program_several_times() {
sw.restart() sw.restart()
} }
dump(times) dump(times)
assert times.first() > times.last() * 4 // cruns compile just once, if the source file is not changed assert times.first() > times.last() * 3 // cruns compile just once, if the source file is not changed
$if !windows { $if !windows {
os.system('ls -la ${crun_folder}') os.system('ls -la ${crun_folder}')
os.system('find ${crun_folder}') os.system('find ${crun_folder}')