Skip to content

Commit efe61d0

Browse files
committed
Bug fix in unit test
1 parent 18af189 commit efe61d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/util/machineset/util_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func TestSettingAnnotations(t *testing.T) {
8888
},
8989
{
9090
name: "replaces GpuType annotation",
91-
value: "1",
91+
value: "nvidia.com/gpu",
9292
fn: SetGpuTypeAnnotation,
9393
suppliedAnnotations: map[string]string{
9494
GpuTypeKey: "",
@@ -99,7 +99,7 @@ func TestSettingAnnotations(t *testing.T) {
9999
},
100100
{
101101
name: "adds GpuType annotation",
102-
value: "1",
102+
value: "nvidia.com/gpu",
103103
fn: SetGpuTypeAnnotation,
104104
suppliedAnnotations: map[string]string{},
105105
expectedAnnotations: map[string]string{

0 commit comments

Comments
 (0)