Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

test: skip the whole snapshotter timers test as it's too flaky on windows

Martin Adámek265f8193e03b
diff --git a/test/autoscaling/snapshotter.test.js b/test/autoscaling/snapshotter.test.js
index 7da572741..ce1df6529 100644
--- a/test/autoscaling/snapshotter.test.js
+++ b/test/autoscaling/snapshotter.test.js
@@ -80,7 +80,8 @@ describe('Snapshotter', () => {
utils.apifyClient.stats = oldStats;
});
- test('should override default timers', async () => {
+ // TODO this whole test is too flaky, especially on windows, often giving smaller numbers than it should in the asserts
+ test.skip('should override default timers', async () => {
const options = {
eventLoopSnapshotIntervalSecs: 0.05,
memorySnapshotIntervalSecs: 0.1,