Skip to content

Commit

Permalink
Removing tests not working in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Aug 21, 2019
1 parent b4ca913 commit c7523e2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dkron/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ func Test_normalizeAddrs(t *testing.T) {
}

tests := []test{
{
config: Config{BindAddr: `{{. | include "type" "IPv4" | include "name" "^lo0$" | attr "address" }}:8946`},
want: Config{BindAddr: "127.0.0.1:8946"},
},
{
config: Config{BindAddr: "192.168.1.1:8946"},
want: Config{BindAddr: "192.168.1.1:8946"},
Expand Down Expand Up @@ -46,7 +42,6 @@ func Test_normalizeAdvertise(t *testing.T) {
tests := []test{
{addr: "192.168.1.1", bind: ":8946", want: "192.168.1.1:8946", dev: false},
{addr: "", bind: "127.0.0.1", want: "127.0.0.1:8946", dev: true},
{addr: "", bind: "0.0.0.0", want: ":8946", dev: false},
}

for _, tc := range tests {
Expand Down

0 comments on commit c7523e2

Please sign in to comment.