mirror of
https://github.com/vlang/v.git
synced 2025-09-12 17:07:11 -04:00
ci: reduce flakyness of cmd/tools/vcover/cover_test.v (workaround for a race condition while updating the OK tasks counter in v test
)
This commit is contained in:
parent
46a78ca31b
commit
2ebbbd8aeb
@ -95,7 +95,7 @@ fn test_simple() {
|
||||
// Run both tests. The coverage should be combined and == 100%
|
||||
r3 := os.execute('${os.quoted_path(vexe)} -coverage ${os.quoted_path(t3)} test cmd/tools/vcover/testdata/simple/')
|
||||
assert r3.exit_code == 0, r3.str()
|
||||
assert r3.output.trim_space().contains('Summary for all V _test.v files: 2 passed'), r3.str()
|
||||
assert r3.output.trim_space().contains('Summary for all V _test.v files: '), r3.str()
|
||||
assert os.exists(t3), t3
|
||||
filter3 := os.execute('${os.quoted_path(vexe)} cover ${os.quoted_path(t3)} --filter simple/')
|
||||
assert filter3.exit_code == 0, filter3.str()
|
||||
|
Loading…
x
Reference in New Issue
Block a user