Fixed typo in metadata JSON key (#1733)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
parent
c2cb1dad5b
commit
f7834bd232
|
@ -25,7 +25,7 @@ type metadata struct {
|
|||
MaxReconnectionAttempts int `json:"maxReconnectionAttempts"`
|
||||
ConnectionRecoveryInSec int `json:"connectionRecoveryInSec"`
|
||||
DisableEntityManagement bool `json:"disableEntityManagement"`
|
||||
MaxRetriableErrorsPerSec int `json:"MaxRetriableErrorsPerSec"`
|
||||
MaxRetriableErrorsPerSec int `json:"maxRetriableErrorsPerSec"`
|
||||
MaxDeliveryCount *int `json:"maxDeliveryCount"`
|
||||
LockDurationInSec *int `json:"lockDurationInSec"`
|
||||
DefaultMessageTimeToLiveInSec *int `json:"defaultMessageTimeToLiveInSec"`
|
||||
|
|
|
@ -300,7 +300,7 @@ func TestParseServiceBusMetadata(t *testing.T) {
|
|||
assertValidErrorMessage(t, err)
|
||||
})
|
||||
|
||||
t.Run("missing optional MaxRetriableErrorsPerSec", func(t *testing.T) {
|
||||
t.Run("missing optional maxRetriableErrorsPerSec", func(t *testing.T) {
|
||||
fakeProperties := getFakeProperties()
|
||||
|
||||
fakeMetaData := pubsub.Metadata{
|
||||
|
@ -316,7 +316,7 @@ func TestParseServiceBusMetadata(t *testing.T) {
|
|||
assert.Nil(t, err)
|
||||
})
|
||||
|
||||
t.Run("invalid optional MaxRetriableErrorsPerSec", func(t *testing.T) {
|
||||
t.Run("invalid optional maxRetriableErrorsPerSec", func(t *testing.T) {
|
||||
// NaN: Not a Number
|
||||
fakeProperties := getFakeProperties()
|
||||
|
||||
|
|
Loading…
Reference in New Issue