Skip to content

Commit

Permalink
More tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinaleonr committed Dec 4, 2023
1 parent 915231d commit 63e264e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cmd/heartbeat/metadata/gcp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,18 @@ func TestNewGCPMetadata(t *testing.T) {
client: &fakeClient{
projErr: true,
},
want: nil,
wantErr: true,
hostname: "ndt-mlab1-lga0t.mlab-sandbox.measurement-lab.org-t95j",
want: nil,
wantErr: true,
},
{
name: "invalid-zone",
client: &fakeClient{
zoneErr: true,
},
want: nil,
wantErr: true,
hostname: "ndt-mlab1-lga0t.mlab-sandbox.measurement-lab.org-t95j",
want: nil,
wantErr: true,
},
}
for _, tt := range tests {
Expand Down

0 comments on commit 63e264e

Please sign in to comment.