Skip to content

Commit

Permalink
fix(test): we are parsing directly an error message that is not stable
Browse files Browse the repository at this point in the history
  • Loading branch information
paologallinaharbur committed May 27, 2021
1 parent 60b8d6c commit ec02afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/jsonschema/match_test.go
Expand Up @@ -77,7 +77,7 @@ func TestErrorValidatingTestNode(t *testing.T) {

err = MatchEntities(i.Data, s, "testdata")
assert.Contains(t, err.Error(), "test-node:node1-dsn.compute.internal TestNodeSample")
assert.Contains(t, err.Error(), "capacity: capacity is required")
assert.Contains(t, err.Error(), "(root): capacity is required")
assert.Contains(t, err.Error(), "test-node:node2-dsn.compute.internal TestNodeSample")
assert.Contains(t, err.Error(), "cpuUsedCores: Invalid type. Expected: number, given: string")
}
Expand Down

0 comments on commit ec02afc

Please sign in to comment.