Skip to content

Commit 6655884

Browse files
committed
feat: improve flaky ms sync delay
1 parent 3fcfadf commit 6655884

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/integration/nextjs-cache-handler.integration.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,13 @@ import fetch from 'node-fetch';
44
import { createClient } from 'redis';
55
import { join } from 'path';
66
import { CacheEntry } from '../../src/RedisStringsHandler';
7-
import { a } from 'vitest/dist/chunks/suite.B2jumIFP.js';
87

98
const NEXT_APP_DIR = join(__dirname, 'next-app');
109
console.log('NEXT_APP_DIR', NEXT_APP_DIR);
1110
const NEXT_START_PORT = 3055;
1211
const NEXT_START_URL = `http://localhost:${NEXT_START_PORT}`;
1312

14-
const REDIS_BACKGROUND_SYNC_DELAY = 100; // 100ms delay to prevent flaky tests in slow CI environments
13+
const REDIS_BACKGROUND_SYNC_DELAY = 250; //ms delay to prevent flaky tests in slow CI environments
1514

1615
let nextProcess;
1716
let redisClient;

0 commit comments

Comments
 (0)