Skip to content

Commit

Permalink
fix: increase db2 timeout and clarify skip on AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAure committed Nov 5, 2024
1 parent 321a05b commit 425f93d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@

@Mode(FULL)
@RunWith(FATRunner.class)
@SkipIfSysProp(NETWORK_AWS) //TODO remove once we can update SSL image to 2019-CU28-ubuntu-20.04
// TODO remove once we can update SSL image to 2019-CU28-ubuntu-20.04
// Avoiding bug in SQLServer docker image https://github.com/microsoft/mssql-docker/issues/881
// Which has logic that tightly couples the container kernel and host kernel
// Today the kernel available on the remote docker host for AWS causes SQLServer to fail to start.
@SkipIfSysProp(NETWORK_AWS)
public class SQLServerSSLTest extends FATServletClient {

public static final String APP_NAME = "sqlserversslfat";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ private static JdbcDatabaseContainer<?> initContainer(DatabaseContainerType dbCo
//Accept License agreement
db2.acceptLicense();
//Add startup timeout since DB2 tends to take longer than the default 3 minutes on build machines.
db2.withStartupTimeout(getContainerTimeout(5, 15));
// TODO figure out if there is a way to create a 'fast-start' image that has the database already created.
db2.withStartupTimeout(getContainerTimeout(5, 25));

break;
case Derby:
Expand Down

0 comments on commit 425f93d

Please sign in to comment.