diff --git a/providers/linux/host_fqdn_integration_docker_linux_test.go b/providers/linux/host_fqdn_integration_docker_linux_test.go index 6457408..9216fd0 100644 --- a/providers/linux/host_fqdn_integration_docker_linux_test.go +++ b/providers/linux/host_fqdn_integration_docker_linux_test.go @@ -22,7 +22,6 @@ package linux import ( "context" "fmt" - "strings" "testing" "time" @@ -45,23 +44,6 @@ func TestHost_FQDN_set(t *testing.T) { } } -func TestHost_FQDN_set_lowerHostname(t *testing.T) { - want := strings.ToLower(wantFQDN) - host, err := newLinuxSystem("", true).Host() - if err != nil { - t.Fatal(fmt.Errorf("could not get host information: %w", err)) - } - - ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) - defer cancel() - - gotFQDN, err := host.FQDNWithContext(ctx) - require.NoError(t, err) - if gotFQDN != want { - t.Errorf("got FQDN %q, want: %q", gotFQDN, want) - } -} - func TestHost_FQDN_not_set(t *testing.T) { host, err := newLinuxSystem("", false).Host() if err != nil { diff --git a/providers/linux/host_fqdn_integration_linux_test.go b/providers/linux/host_fqdn_integration_linux_test.go index 9b742a4..b6c6175 100644 --- a/providers/linux/host_fqdn_integration_linux_test.go +++ b/providers/linux/host_fqdn_integration_linux_test.go @@ -31,8 +31,8 @@ import ( ) const ( - wantHostname = "hostName" - wantDomain = "some.Domain" + wantHostname = "hostname" + wantDomain = "some.domain" wantFQDN = wantHostname + "." + wantDomain )