Skip to content

Commit

Permalink
wireguardctrl: stop skipping userspace device in Linux integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlayher committed Feb 18, 2019
1 parent 1abd2fc commit 0c2464e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions client_integration_test.go
Expand Up @@ -6,7 +6,6 @@ import (
"fmt"
"net"
"os"
"runtime"
"strings"
"testing"
"time"
Expand Down Expand Up @@ -37,16 +36,6 @@ func TestClientIntegration(t *testing.T) {
t.Skipf("skipping, failed to get devices: %v", err)
}

// wireguard-go in Travis CI doesn't seem to work as of January 2019.
// TODO(mdlayher): undo at a later time.
if runtime.GOOS == "linux" {
for i := range devices {
if devices[i].Type == wgtypes.Userspace {
devices = append(devices[:i], devices[i+1:]...)
}
}
}

tests := []struct {
name string
fn func(t *testing.T, c *wireguardctrl.Client, devices []*wgtypes.Device)
Expand Down

0 comments on commit 0c2464e

Please sign in to comment.