summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test/ops_sanitizer_multiple_timeout_tests.out
blob: 222d2216201f803f2a4319c7e9e79173ba2c9a1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Check [WILDCARD]/testdata/test/ops_sanitizer_multiple_timeout_tests.ts
running 2 tests from ./test/ops_sanitizer_multiple_timeout_tests.ts
test 1 ... FAILED ([WILDCARD])
test 2 ... FAILED ([WILDCARD])

failures:

./test/ops_sanitizer_multiple_timeout_tests.ts > test 1
Test case is leaking async ops.

- 2 async operations to sleep for a duration were started in this test, but never completed. This is often caused by not cancelling a `setTimeout` or `setInterval` call. The operations were started here:
    at [WILDCARD]
    at setTimeout ([WILDCARD])
    at test ([WILDCARD]/testdata/test/ops_sanitizer_multiple_timeout_tests.ts:4:3)
    at [WILDCARD]/testdata/test/ops_sanitizer_multiple_timeout_tests.ts:8:27
    at [WILDCARD]

    at [WILDCARD]
    at setTimeout ([WILDCARD])
    at test ([WILDCARD]/testdata/test/ops_sanitizer_multiple_timeout_tests.ts:5:3)
    at [WILDCARD]/testdata/test/ops_sanitizer_multiple_timeout_tests.ts:8:27
    at [WILDCARD]

./test/ops_sanitizer_multiple_timeout_tests.ts > test 2
Test case is leaking async ops.

- 2 async operations to sleep for a duration were started in this test, but never completed. This is often caused by not cancelling a `setTimeout` or `setInterval` call. The operations were started here:
    at [WILDCARD]
    at setTimeout ([WILDCARD])
    at test ([WILDCARD]/testdata/test/ops_sanitizer_multiple_timeout_tests.ts:4:3)
    at [WILDCARD]/testdata/test/ops_sanitizer_multiple_timeout_tests.ts:10:27
    at [WILDCARD]

    at [WILDCARD]
    at setTimeout ([WILDCARD])
    at test ([WILDCARD]/testdata/test/ops_sanitizer_multiple_timeout_tests.ts:5:3)
    at [WILDCARD]/testdata/test/ops_sanitizer_multiple_timeout_tests.ts:10:27
    at [WILDCARD]

failures:

	./test/ops_sanitizer_multiple_timeout_tests.ts
	test 1
	test 2

test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD])

error: Test failed