Skip to content

[Bug]: [MariaDB] getLivenessCheckPortNumbers incorrectly implemented #10359

@AB-xdev

Description

@AB-xdev

Module

MariaDB

Testcontainers version

1.21.1

Problem at least present since 1.16.0

Using the latest Testcontainers version?

Yes

What happened?

public Set<Integer> getLivenessCheckPortNumbers() {
return Sets.newHashSet(MARIADB_PORT);
}

The MAPPED port is NOT returned, which causes the HostPortWaitStrategy to fail.

Why does this method exists in the first place? I couldn't find why it even exists. The super Method should work just fine.

Additional Information

This is part of a general performance regression in JDBC containers (waitUntilContainerStarted), that I'm currently addressing. I will create some follow up issues too describe the problem/s in more detail soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions