File: timeout--bail--buffer.tap

package info (click to toggle)
node-tap 12.0.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,916 kB
  • sloc: makefile: 84; sh: 75
file content (22 lines) | stat: -rw-r--r-- 594 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TAP version 13
not ok 1 - parent of timeout test ___/# time=[0-9.]+(ms)?/~~~ {
    not ok 1 - timeout test ___/# time=[0-9.]+(ms)?/~~~
      ---
      {"timeout":50}
      ...
    {
        not ok 1 - this never completes ___/# time=[0-9.]+(ms)?/~~~ {
            not ok 1 - baby ___/# time=[0-9.]+(ms)?/~~~ {
                ok 1 - wait a sec...
                not ok 2 - timeout!
                  ---
                  {"expired":"timeout test","test":"baby"}
                  ...
                
                Bail out! # timeout!
            }
        }
    }
}
Bail out! # timeout!