File: drop-parallel-test.patch

package info (click to toggle)
node-jasmine 5.11.0%2B~cs10.12.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,380 kB
  • sloc: javascript: 52,616; sh: 77; makefile: 18
file content (26 lines) | stat: -rw-r--r-- 972 bytes parent folder | download
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
Description: drop parallel test
 Incompatible with debci
Author: Yadd <yadd@debian.org>
Bug-Debian: https://bugs.debian.org/1115129
Forwarded: not-needed
Last-Update: 2025-09-15

--- a/spec/command_spec.js
+++ b/spec/command_spec.js
@@ -412,16 +412,6 @@
       expect(this.parallelRunner.execute).toHaveBeenCalled();
     });
 
-    it('sets the number of workers to 1 less than CPUs if --paralell is auto', async function() {
-      await this.command.run(['node', 'bin/jasmine.js', '--parallel=auto']);
-      expect(this.fakeJasmine.execute).not.toHaveBeenCalled();
-      expect(this.ParallelRunner).toHaveBeenCalledWith({
-        projectBaseDir,
-        numWorkers: os.cpus().length - 1
-      });
-      expect(this.parallelRunner.execute).toHaveBeenCalled();
-    });
-
     it('shows usage if --parallel is not a number', async function() {
       this.command.run(['node', 'bin/jasmine.js', '--parallel=twelve']);
       expect(this.out.getOutput()).toContain(