Skip to content

Commit

Permalink
Use 3 startup attempts for Oracle Testcontainer (#9662)
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-grecourt authored Jan 17, 2025
1 parent 34d053e commit 3cdfaee
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2024 Oracle and/or its affiliates.
* Copyright (c) 2024, 2025 Oracle and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -33,6 +33,7 @@ abstract class OracleTestContainer {
static final GenericContainer<?> CONTAINER = new GenericContainer<>(IMAGE)
.withEnv("ORACLE_PWD", "oracle123")
.withExposedPorts(1521)
.withStartupAttempts(3)
.waitingFor(Wait.forHealthcheck()
.withStartupTimeout(Duration.ofMinutes(5)));

Expand Down

0 comments on commit 3cdfaee

Please sign in to comment.