Skip to content

Commit f5c3de9

Browse files
sutaakaropenshift-merge-bot[bot]
authored andcommitted
Raise timeout for enabling/disabling component to 10 minutes
1 parent 2626e9b commit f5c3de9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/common/support/dataScienceCluster.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ func SetupComponent(dscName, component, desiredState string) error {
329329
}
330330

331331
fmt.Printf("Setup: Setting %s managementState to %s in DataScienceCluster...\n", component, desiredState)
332-
err = SetComponentStateAndWait(dynamicClient, context.Background(), dscName, component, desiredState, 2*time.Minute)
332+
err = SetComponentStateAndWait(dynamicClient, context.Background(), dscName, component, desiredState, 10*time.Minute)
333333
if err != nil {
334334
return err
335335
}
@@ -345,7 +345,7 @@ func TearDownComponent(dscName, component string) error {
345345
}
346346

347347
fmt.Printf("TearDown: Setting %s managementState to Removed in DataScienceCluster...\n", component)
348-
err = SetComponentStateAndWait(dynamicClient, context.Background(), dscName, component, StateRemoved, 2*time.Minute)
348+
err = SetComponentStateAndWait(dynamicClient, context.Background(), dscName, component, StateRemoved, 10*time.Minute)
349349
if err != nil {
350350
return fmt.Errorf("TearDown: failed to set %s to Removed: %w", component, err)
351351
}

0 commit comments

Comments
 (0)