File tree Expand file tree Collapse file tree
tests/integration/container/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import { readFileSync } from "fs";
2323import { logger } from "../../../../common/logutils" ;
2424import { TestEnvironmentFeatures } from "./utils/test_environment_features" ;
2525import { features } from "./config" ;
26- import { jest } from "@jest/globals" ;
2726
2827const itIf =
2928 ! features . includes ( TestEnvironmentFeatures . PERFORMANCE ) &&
@@ -72,9 +71,6 @@ async function validateConnection() {
7271describe ( "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 ( ) => {
You can’t perform that action at this time.
0 commit comments