Skip to content

Commit 290e2b5

Browse files
committed
chore: remove fake timers
1 parent 0f2e4d4 commit 290e2b5

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

tests/integration/container/tests/iam_authentication.test.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import { readFileSync } from "fs";
2323
import { logger } from "../../../../common/logutils";
2424
import { TestEnvironmentFeatures } from "./utils/test_environment_features";
2525
import { features } from "./config";
26-
import { jest } from "@jest/globals";
2726

2827
const itIf =
2928
!features.includes(TestEnvironmentFeatures.PERFORMANCE) &&
@@ -72,9 +71,6 @@ async function validateConnection() {
7271
describe("iam authentication", () => {
7372
beforeEach(async () => {
7473
logger.info(`Test started: ${expect.getState().currentTestName}`);
75-
jest.useFakeTimers({
76-
doNotFake: ["nextTick"]
77-
});
7874
client = null;
7975
env = await TestEnvironment.getCurrent();
8076
driver = DriverHelper.getDriverForDatabaseEngine(env.engine);
@@ -93,11 +89,6 @@ describe("iam authentication", () => {
9389
logger.info(`Test finished: ${expect.getState().currentTestName}`);
9490
}, 1320000);
9591

96-
afterAll(async () => {
97-
jest.runOnlyPendingTimers();
98-
jest.useRealTimers();
99-
});
100-
10192
itIf(
10293
"iam wrong database username",
10394
async () => {

0 commit comments

Comments
 (0)