Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
meiliang86 committed Mar 8, 2022
1 parent 638917d commit c494237
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/dynamicconfig/file_based_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ func (s *fileBasedClientSuite) TestGetIntValue_FilteredByNamespaceAndAPIType() {
}
v, err = s.client.GetIntValue(testGetIntPropertyFilteredByNamespaceApiTypeKey, filters, 0)
s.NoError(err)
s.Equal(20, v)
s.Equal(30, v) // GetIntValue only does exact match based on all filters specified
// Additional handling is in dynamicconfig.GetIntPropertyFilteredByNamespaceApiType for backward compatibility.
}

func (s *fileBasedClientSuite) TestGetFloatValue() {
Expand Down

0 comments on commit c494237

Please sign in to comment.