fix(jest-circus) correct concurrent event ordering #14221
Triggered via pull request
November 15, 2024 23:00
Status
Cancelled
Total duration
5m 43s
Artifacts
–
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
17s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
18s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
35s
TypeScript Compatibility
5m 4s
Typecheck Examples and Tests
3m 55s
Lint
1m 49s
Validate Yarn dependencies and constraints
12s
Node LTS on Ubuntu with leak detection
45s
Matrix: test-coverage
Matrix: test-ubuntu
Matrix: test-macos
Matrix: test-windows
Annotations
58 errors and 3 warnings
runs the tests in the correct order:
e2e/__tests__/circusConcurrent.test.ts#L23
expect(received).toMatchSnapshot()
Snapshot name: `runs the tests in the correct order 1`
- Snapshot - 2
+ Received + 2
@@ -57,16 +57,16 @@
[[test ten (fails) start]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test eight end]]
+ [[test nine end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
- [[test nine end]]
+ [[test eight end]]
at log (__tests__/concurrent.test.js:12:29)
console.log
[[test five end]]
at Object.toMatchSnapshot (e2e/__tests__/circusConcurrent.test.ts:23:18)
|
macOS with shard 2/3 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 2/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 2/3 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 2/3 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 2/3 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 3/3 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Ubuntu with shard 4/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 3/3 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 3/3 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 3/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 3/3 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 2/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 3/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 3/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 3/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 3/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 4/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 4/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 3/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 4/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 4/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 4/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
throws an error about unsupported modifier:
e2e/__tests__/testFailingJasmine.test.ts#L21
expect(received).toMatchSnapshot()
Snapshot name: `throws an error about unsupported modifier 1`
- Snapshot - 6
+ Received + 6
@@ -12,34 +12,34 @@
25 |
at Object.failing (__tests__/statuses.test.js:22:4)
FAIL __tests__/worksWithConcurrentMode.test.js
- ● block with concurrent › failing test
+ ● block with concurrent › test should fail
expect(received).toBe(expected) // Object.is equality
Expected: 101
Received: 10
8 | describe('block with concurrent', () => {
- 9 | it('failing test', () => {
+ 9 | it('test should fail', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
- 13 | it.concurrent.failing('failing passes = fails', () => {
+ 13 | it.concurrent.failing('.failing() should fail', () => {
at Object.toBe (__tests__/worksWithConcurrentMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: `failing` tests are only supported in `jest-circus`.
11 | });
12 |
- > 13 | it.concurrent.failing('failing passes = fails', () => {
+ > 13 | it.concurrent.failing('.failing() should fail', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
@@ -59,21 +59,21 @@
9 | it('skipped failing test', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
- 13 | it.concurrent.only.failing('failing passes = fails', () => {
+ 13 | it.concurrent.only.failing('.only.failing() should fail', () => {
at Object.toBe (__tests__/worksWithConcurrentOnlyMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: `failing` tests are only supported in `jest-circus`.
11 | });
12 |
- > 13 | it.concurrent.only.failing('failing passes = fails', () => {
+ > 13 | it.concurrent.only.failing('.only.failing() should fail', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
↵
at Object.toMatchSnapshot (e2e/__tests__/testFailingJasmine.test.ts:21:16)
|
Windows with shard 2/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 2/4 / Node v20.x
A task was canceled.
|
throws an error about unsupported modifier:
e2e/__tests__/testFailingJasmine.test.ts#L21
expect(received).toMatchSnapshot()
Snapshot name: `throws an error about unsupported modifier 1`
- Snapshot - 6
+ Received + 6
@@ -12,34 +12,34 @@
25 |
at Object.failing (__tests__/statuses.test.js:22:4)
FAIL __tests__/worksWithConcurrentMode.test.js
- ● block with concurrent › failing test
+ ● block with concurrent › test should fail
expect(received).toBe(expected) // Object.is equality
Expected: 101
Received: 10
8 | describe('block with concurrent', () => {
- 9 | it('failing test', () => {
+ 9 | it('test should fail', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
- 13 | it.concurrent.failing('failing passes = fails', () => {
+ 13 | it.concurrent.failing('.failing() should fail', () => {
at Object.toBe (__tests__/worksWithConcurrentMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: `failing` tests are only supported in `jest-circus`.
11 | });
12 |
- > 13 | it.concurrent.failing('failing passes = fails', () => {
+ > 13 | it.concurrent.failing('.failing() should fail', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
@@ -59,21 +59,21 @@
9 | it('skipped failing test', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
- 13 | it.concurrent.only.failing('failing passes = fails', () => {
+ 13 | it.concurrent.only.failing('.only.failing() should fail', () => {
at Object.toBe (__tests__/worksWithConcurrentOnlyMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: `failing` tests are only supported in `jest-circus`.
11 | });
12 |
- > 13 | it.concurrent.only.failing('failing passes = fails', () => {
+ > 13 | it.concurrent.only.failing('.only.failing() should fail', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
↵
at Object.toMatchSnapshot (e2e/__tests__/testFailingJasmine.test.ts:21:16)
|
throws an error about unsupported modifier:
e2e/__tests__/testFailingJasmine.test.ts#L21
expect(received).toMatchSnapshot()
Snapshot name: `throws an error about unsupported modifier 1`
- Snapshot - 6
+ Received + 6
@@ -12,34 +12,34 @@
25 |
at Object.failing (__tests__/statuses.test.js:22:4)
FAIL __tests__/worksWithConcurrentMode.test.js
- ● block with concurrent › failing test
+ ● block with concurrent › test should fail
expect(received).toBe(expected) // Object.is equality
Expected: 101
Received: 10
8 | describe('block with concurrent', () => {
- 9 | it('failing test', () => {
+ 9 | it('test should fail', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
- 13 | it.concurrent.failing('failing passes = fails', () => {
+ 13 | it.concurrent.failing('.failing() should fail', () => {
at Object.toBe (__tests__/worksWithConcurrentMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: `failing` tests are only supported in `jest-circus`.
11 | });
12 |
- > 13 | it.concurrent.failing('failing passes = fails', () => {
+ > 13 | it.concurrent.failing('.failing() should fail', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
@@ -59,21 +59,21 @@
9 | it('skipped failing test', () => {
> 10 | expect(10).toBe(101);
| ^
11 | });
12 |
- 13 | it.concurrent.only.failing('failing passes = fails', () => {
+ 13 | it.concurrent.only.failing('.only.failing() should fail', () => {
at Object.toBe (__tests__/worksWithConcurrentOnlyMode.test.js:10:16)
● block with concurrent › encountered a declaration exception
Jest: `failing` tests are only supported in `jest-circus`.
11 | });
12 |
- > 13 | it.concurrent.only.failing('failing passes = fails', () => {
+ > 13 | it.concurrent.only.failing('.only.failing() should fail', () => {
| ^
14 | expect(10).toBe(10);
15 | });
16 |
↵
at Object.toMatchSnapshot (e2e/__tests__/testFailingJasmine.test.ts:21:16)
|
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Final attempt failed. Child_process exited with error code 1
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 1/4 / Node LTS using jest-jasmine2
The operation was canceled.
|
TypeScript Compatibility
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
TypeScript Compatibility
The operation was canceled.
|
Windows with shard 1/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 1/4 / Node v22.x
The operation was canceled.
|
macOS with shard 1/3 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 1/3 / Node v16.x
The operation was canceled.
|
Windows with shard 2/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 2/4 / Node v18.x
The operation was canceled.
|
Windows with shard 2/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 2/4 / Node v16.x
The operation was canceled.
|
macOS with shard 1/3 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 1/3 / Node v20.x
The operation was canceled.
|
Windows with shard 1/4 / Node v16.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 1/4 / Node v16.x
The operation was canceled.
|
macOS with shard 1/3 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 1/3 / Node v22.x
The operation was canceled.
|
Windows with shard 1/4 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 1/4 / Node v18.x
The operation was canceled.
|
Windows with shard 1/4 / Node v20.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 1/4 / Node v20.x
The operation was canceled.
|
macOS with shard 1/3 / Node LTS using jest-jasmine2
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 1/3 / Node LTS using jest-jasmine2
The operation was canceled.
|
Windows with shard 2/4 / Node v22.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
Windows with shard 2/4 / Node v22.x
A task was canceled.
|
macOS with shard 1/3 / Node v18.x
Canceling since a higher priority waiting request for 'Node CI-jest-circus-concurrent-event-ordering2' exists
|
macOS with shard 1/3 / Node v18.x
The operation was canceled.
|
Node LTS on Ubuntu with coverage (3/4)
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Attempt 1 failed. Reason: Child_process exited with error code 1
|
Ubuntu with shard 1/4 / Node LTS using jest-jasmine2
Attempt 2 failed. Reason: Child_process exited with error code 1
|