mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-20 17:56:02 -05:00
Rename test to TestPingAllByIPRandomClientPort and add to GitHub workflow
Co-authored-by: kradalby <98431+kradalby@users.noreply.github.com>
This commit is contained in:
1
.github/workflows/test-integration.yaml
vendored
1
.github/workflows/test-integration.yaml
vendored
@@ -62,6 +62,7 @@ jobs:
|
|||||||
- TestDERPServerScenario
|
- TestDERPServerScenario
|
||||||
- TestDERPServerWebsocketScenario
|
- TestDERPServerWebsocketScenario
|
||||||
- TestPingAllByIP
|
- TestPingAllByIP
|
||||||
|
- TestPingAllByIPRandomClientPort
|
||||||
- TestPingAllByIPPublicDERP
|
- TestPingAllByIPPublicDERP
|
||||||
- TestEphemeral
|
- TestEphemeral
|
||||||
- TestEphemeralInAlternateTimezone
|
- TestEphemeralInAlternateTimezone
|
||||||
|
|||||||
@@ -86,11 +86,11 @@ func TestPingAllByIP(t *testing.T) {
|
|||||||
t.Logf("%d successful pings out of %d", success, len(allClients)*len(allIps))
|
t.Logf("%d successful pings out of %d", success, len(allClients)*len(allIps))
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestPingAllByIPDirectConnections is a variant of TestPingAllByIP that validates
|
// TestPingAllByIPRandomClientPort is a variant of TestPingAllByIP that validates
|
||||||
// direct connections between nodes with randomize_client_port enabled. This test
|
// direct connections between nodes with randomize_client_port enabled. This test
|
||||||
// ensures that nodes can establish direct peer-to-peer connections without relying
|
// ensures that nodes can establish direct peer-to-peer connections without relying
|
||||||
// on DERP relay servers, and that the randomize_client_port feature works correctly.
|
// on DERP relay servers, and that the randomize_client_port feature works correctly.
|
||||||
func TestPingAllByIPDirectConnections(t *testing.T) {
|
func TestPingAllByIPRandomClientPort(t *testing.T) {
|
||||||
IntegrationSkip(t)
|
IntegrationSkip(t)
|
||||||
|
|
||||||
spec := ScenarioSpec{
|
spec := ScenarioSpec{
|
||||||
|
|||||||
Reference in New Issue
Block a user