fix(grpc): add more checks for tag validation

This commit is contained in:
Adrien Raffin-Caboisse committed 2022-07-25 14:01:41 +02:00
1 parent c46a34e6b8
commit c90e862460
3 files changed
+60 -6

No files matched your search

+1 -1
View File
@@ -625,7 +625,7 @@ func (s *IntegrationCLITestSuite) TestNodeTagCommand() {
var errorOutput errOutput
err = json.Unmarshal([]byte(wrongTagResult), &errorOutput)
assert.Nil(s.T(), err)
assert.Contains(s.T(), errorOutput.Error, "Invalid tag detected")
assert.Contains(s.T(), errorOutput.Error, "tag must start with the string 'tag:'")
// Test list all nodes after added seconds
listAllResult, err := ExecuteCommand(