mirror of https://github.com/webpack/webpack.git
				
				
				
			test: increase basic teest timeout for stability (#20001)
	
		
			
	
		
	
	
		
			
				
	
				Github Actions / lint (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / validate-legacy-node (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / benchmark (1/4) (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / benchmark (2/4) (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / benchmark (3/4) (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / benchmark (4/4) (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / basic (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / unit (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / integration (10.x, macos-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (10.x, macos-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (10.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (10.x, ubuntu-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (10.x, windows-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (10.x, windows-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (12.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (14.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (16.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (18.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (20.x, macos-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (20.x, macos-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (20.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (20.x, ubuntu-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (20.x, windows-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (20.x, windows-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (22.x, macos-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (22.x, macos-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (22.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (22.x, ubuntu-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (22.x, windows-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (22.x, windows-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (24.x, macos-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (24.x, macos-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (24.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (24.x, ubuntu-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (24.x, windows-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (24.x, windows-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (lts/*, ubuntu-latest, a, 1) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (lts/*, ubuntu-latest, b, 1) (push) Blocked by required conditions
				
					Details
				
			
		
	
				
					
				
			
				
	
				Github Actions / lint (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / validate-legacy-node (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / benchmark (1/4) (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / benchmark (2/4) (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / benchmark (3/4) (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / benchmark (4/4) (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / basic (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / unit (push) Waiting to run
				
					Details
				
			
		
			
				
	
				Github Actions / integration (10.x, macos-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (10.x, macos-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (10.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (10.x, ubuntu-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (10.x, windows-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (10.x, windows-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (12.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (14.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (16.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (18.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (20.x, macos-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (20.x, macos-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (20.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (20.x, ubuntu-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (20.x, windows-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (20.x, windows-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (22.x, macos-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (22.x, macos-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (22.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (22.x, ubuntu-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (22.x, windows-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (22.x, windows-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (24.x, macos-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (24.x, macos-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (24.x, ubuntu-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (24.x, ubuntu-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (24.x, windows-latest, a) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (24.x, windows-latest, b) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (lts/*, ubuntu-latest, a, 1) (push) Blocked by required conditions
				
					Details
				
			
		
			
				
	
				Github Actions / integration (lts/*, ubuntu-latest, b, 1) (push) Blocked by required conditions
				
					Details
				
			
		
	This commit is contained in:
		
							parent
							
								
									9b675fcbfe
								
							
						
					
					
						commit
						1fc3c50386
					
				|  | @ -2,6 +2,7 @@ | ||||||
| 
 | 
 | ||||||
| /** @type {import('jest').Config} */ | /** @type {import('jest').Config} */ | ||||||
| const config = { | const config = { | ||||||
|  | 	testTimeout: 30000, | ||||||
| 	prettierPath: require.resolve("prettier-2"), | 	prettierPath: require.resolve("prettier-2"), | ||||||
| 	forceExit: true, | 	forceExit: true, | ||||||
| 	setupFilesAfterEnv: ["<rootDir>/test/setupTestFramework.js"], | 	setupFilesAfterEnv: ["<rootDir>/test/setupTestFramework.js"], | ||||||
|  |  | ||||||
|  | @ -72,8 +72,6 @@ function createFiles() { | ||||||
| 	); | 	); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| jest.setTimeout(30000); |  | ||||||
| 
 |  | ||||||
| describe("ChangesAndRemovals", () => { | describe("ChangesAndRemovals", () => { | ||||||
| 	beforeEach((done) => { | 	beforeEach((done) => { | ||||||
| 		cleanup((err) => { | 		cleanup((err) => { | ||||||
|  |  | ||||||
|  | @ -9,8 +9,6 @@ const rimraf = require("rimraf"); | ||||||
| let fixtureCount = 0; | let fixtureCount = 0; | ||||||
| 
 | 
 | ||||||
| describe("Compiler (caching)", () => { | describe("Compiler (caching)", () => { | ||||||
| 	jest.setTimeout(15000); |  | ||||||
| 
 |  | ||||||
| 	function compile(entry, options, callback) { | 	function compile(entry, options, callback) { | ||||||
| 		const webpack = require(".."); | 		const webpack = require(".."); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -9,8 +9,6 @@ const rimraf = require("rimraf"); | ||||||
| let fixtureCount = 0; | let fixtureCount = 0; | ||||||
| 
 | 
 | ||||||
| describe("Compiler (filesystem caching)", () => { | describe("Compiler (filesystem caching)", () => { | ||||||
| 	jest.setTimeout(5000); |  | ||||||
| 
 |  | ||||||
| 	const tempFixturePath = path.join( | 	const tempFixturePath = path.join( | ||||||
| 		__dirname, | 		__dirname, | ||||||
| 		"fixtures", | 		"fixtures", | ||||||
|  |  | ||||||
|  | @ -9,7 +9,6 @@ const captureStdio = require("./helpers/captureStdio"); | ||||||
| const deprecationTracking = require("./helpers/deprecationTracking"); | const deprecationTracking = require("./helpers/deprecationTracking"); | ||||||
| 
 | 
 | ||||||
| describe("Compiler", () => { | describe("Compiler", () => { | ||||||
| 	jest.setTimeout(20000); |  | ||||||
| 	function compile(entry, options, callback) { | 	function compile(entry, options, callback) { | ||||||
| 		const noOutputPath = !options.output || !options.output.path; | 		const noOutputPath = !options.output || !options.output.path; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -6,8 +6,6 @@ const fs = require("graceful-fs"); | ||||||
| const webpack = require(".."); | const webpack = require(".."); | ||||||
| 
 | 
 | ||||||
| describe("HotModuleReplacementPlugin", () => { | describe("HotModuleReplacementPlugin", () => { | ||||||
| 	jest.setTimeout(20000); |  | ||||||
| 
 |  | ||||||
| 	it("should not have circular hashes but equal if unmodified", (done) => { | 	it("should not have circular hashes but equal if unmodified", (done) => { | ||||||
| 		const entryFile = path.join( | 		const entryFile = path.join( | ||||||
| 			__dirname, | 			__dirname, | ||||||
|  |  | ||||||
|  | @ -32,8 +32,6 @@ const createMultiCompiler = (options) => { | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| describe("MultiCompiler", () => { | describe("MultiCompiler", () => { | ||||||
| 	jest.setTimeout(20000); |  | ||||||
| 
 |  | ||||||
| 	it("should trigger 'run' for each child compiler", (done) => { | 	it("should trigger 'run' for each child compiler", (done) => { | ||||||
| 		const compiler = createMultiCompiler(); | 		const compiler = createMultiCompiler(); | ||||||
| 		let called = 0; | 		let called = 0; | ||||||
|  |  | ||||||
|  | @ -6,8 +6,6 @@ const path = require("path"); | ||||||
| 
 | 
 | ||||||
| // cspell:word nodetest
 | // cspell:word nodetest
 | ||||||
| describe("NodeTemplatePlugin", () => { | describe("NodeTemplatePlugin", () => { | ||||||
| 	jest.setTimeout(20000); |  | ||||||
| 
 |  | ||||||
| 	it("should compile and run a simple module", (done) => { | 	it("should compile and run a simple module", (done) => { | ||||||
| 		const webpack = require(".."); | 		const webpack = require(".."); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -6,8 +6,6 @@ const path = require("path"); | ||||||
| const { Volume, createFsFromVolume } = require("memfs"); | const { Volume, createFsFromVolume } = require("memfs"); | ||||||
| const webpack = require(".."); | const webpack = require(".."); | ||||||
| 
 | 
 | ||||||
| jest.setTimeout(10000); |  | ||||||
| 
 |  | ||||||
| describe("Watch", () => { | describe("Watch", () => { | ||||||
| 	it("should only compile a single time", (done) => { | 	it("should only compile a single time", (done) => { | ||||||
| 		let counterBeforeCompile = 0; | 		let counterBeforeCompile = 0; | ||||||
|  |  | ||||||
|  | @ -5,8 +5,6 @@ require("./helpers/warmup-webpack"); | ||||||
| const path = require("path"); | const path = require("path"); | ||||||
| 
 | 
 | ||||||
| describe("WatchClose", () => { | describe("WatchClose", () => { | ||||||
| 	jest.setTimeout(5000); |  | ||||||
| 
 |  | ||||||
| 	describe("multiple calls watcher", () => { | 	describe("multiple calls watcher", () => { | ||||||
| 		const fixturePath = path.join(__dirname, "fixtures"); | 		const fixturePath = path.join(__dirname, "fixtures"); | ||||||
| 		const outputPath = path.join(__dirname, "js/WatchClose"); | 		const outputPath = path.join(__dirname, "js/WatchClose"); | ||||||
|  |  | ||||||
|  | @ -14,8 +14,6 @@ describe("WatchDetection", () => { | ||||||
| 		return; | 		return; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	jest.setTimeout(20000); |  | ||||||
| 
 |  | ||||||
| 	createTestCase(100, true); | 	createTestCase(100, true); | ||||||
| 	createTestCase(10, true); | 	createTestCase(10, true); | ||||||
| 	createTestCase(600, true); | 	createTestCase(600, true); | ||||||
|  |  | ||||||
|  | @ -13,8 +13,6 @@ describe("WatchSuspend", () => { | ||||||
| 		return; | 		return; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	jest.setTimeout(5000); |  | ||||||
| 
 |  | ||||||
| 	describe("suspend and resume watcher", () => { | 	describe("suspend and resume watcher", () => { | ||||||
| 		const fixturePath = path.join( | 		const fixturePath = path.join( | ||||||
| 			__dirname, | 			__dirname, | ||||||
|  |  | ||||||
|  | @ -32,8 +32,6 @@ describe("WatcherEvents", () => { | ||||||
| 		return; | 		return; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	jest.setTimeout(10000); |  | ||||||
| 
 |  | ||||||
| 	it("should emit 'watch-close' when using single-compiler mode and the compiler is not running", (done) => { | 	it("should emit 'watch-close' when using single-compiler mode and the compiler is not running", (done) => { | ||||||
| 		let called = false; | 		let called = false; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue