Skip to content

Commit 7531fcb

Browse files
smirashanduur
authored andcommitted
test: fix flaky LinkSpec/Wireguard test
It tried to allocate listen address on a fixed port. When running tests it's hard to predict which port will be available, so skip specifying a port, and Wireguard should allocate a port on its own. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com> (cherry picked from commit 7b06ae8)
1 parent 1dbc64d commit 7531fcb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/app/machined/pkg/controllers/network/link_spec_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,6 @@ func (suite *LinkSpecSuite) TestWireguard() {
659659
Logical: true,
660660
Wireguard: network.WireguardSpec{
661661
PrivateKey: priv.String(),
662-
ListenPort: 30000,
663662
FirewallMark: 1,
664663
Peers: []network.WireguardPeer{
665664
{

0 commit comments

Comments
 (0)