mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +00:00
Merge pull request #14890 from timothysc/user_error
Fix for unit test failures on user
This commit is contained in:
commit
b7dbbdbc09
@ -305,7 +305,11 @@ func TestValidateCachesSchema(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestSubstitueUser(t *testing.T) {
|
func TestSubstitueUser(t *testing.T) {
|
||||||
usr, _ := user.Current()
|
usr, err := user.Current()
|
||||||
|
if err != nil {
|
||||||
|
t.Logf("SKIPPING TEST: unexpected error: %v", err)
|
||||||
|
return
|
||||||
|
}
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
input string
|
input string
|
||||||
expected string
|
expected string
|
||||||
|
Loading…
Reference in New Issue
Block a user