Skip to content

JDBC - MSSQL - getLivenessCheckPortNumbers() shouldn't that be the mapped port and not the internal? #5283

@npetzall

Description

@npetzall

@Override
public Set<Integer> getLivenessCheckPortNumbers() {
return Sets.newHashSet(MS_SQL_SERVER_PORT);
}

Mysql has the ports mapped

@NotNull
@Override
protected Set<Integer> getLivenessCheckPorts() {
return new HashSet<>(getMappedPort(MYSQL_PORT));
}

If the overrides are removed you would receive mapped ports of the exposedPorts.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions