@@ -101,19 +101,19 @@ const RETRY_TEST_CASES: TestCase[] = [
101
101
retryableStatusCodes : [ 14 ] ,
102
102
} ,
103
103
error :
104
- / r e t r y p o l i c y : i n i t i a l B a c k o f f m u s t b e a s t r i n g c o n s i s t i n g o f a p o s i t i v e i n t e g e r f o l l o w e d b y s / ,
104
+ / r e t r y p o l i c y : i n i t i a l B a c k o f f m u s t b e a s t r i n g c o n s i s t i n g o f a p o s i t i v e i n t e g e r o r d e c i m a l f o l l o w e d b y s / ,
105
105
} ,
106
106
{
107
107
description : 'a non-numeric initialBackoff' ,
108
108
config : { ...validRetryConfig , initialBackoff : 'abcs' } ,
109
109
error :
110
- / r e t r y p o l i c y : i n i t i a l B a c k o f f m u s t b e a s t r i n g c o n s i s t i n g o f a p o s i t i v e i n t e g e r f o l l o w e d b y s / ,
110
+ / r e t r y p o l i c y : i n i t i a l B a c k o f f m u s t b e a s t r i n g c o n s i s t i n g o f a p o s i t i v e i n t e g e r o r d e c i m a l f o l l o w e d b y s / ,
111
111
} ,
112
112
{
113
113
description : 'an initialBackoff without an s' ,
114
114
config : { ...validRetryConfig , initialBackoff : '123' } ,
115
115
error :
116
- / r e t r y p o l i c y : i n i t i a l B a c k o f f m u s t b e a s t r i n g c o n s i s t i n g o f a p o s i t i v e i n t e g e r f o l l o w e d b y s / ,
116
+ / r e t r y p o l i c y : i n i t i a l B a c k o f f m u s t b e a s t r i n g c o n s i s t i n g o f a p o s i t i v e i n t e g e r o r d e c i m a l f o l l o w e d b y s / ,
117
117
} ,
118
118
{
119
119
description : 'omitted maxBackoff' ,
@@ -124,19 +124,19 @@ const RETRY_TEST_CASES: TestCase[] = [
124
124
retryableStatusCodes : [ 14 ] ,
125
125
} ,
126
126
error :
127
- / r e t r y p o l i c y : m a x B a c k o f f m u s t b e a s t r i n g c o n s i s t i n g o f a p o s i t i v e i n t e g e r f o l l o w e d b y s / ,
127
+ / r e t r y p o l i c y : m a x B a c k o f f m u s t b e a s t r i n g c o n s i s t i n g o f a p o s i t i v e i n t e g e r o r d e c i m a l f o l l o w e d b y s / ,
128
128
} ,
129
129
{
130
130
description : 'a non-numeric maxBackoff' ,
131
131
config : { ...validRetryConfig , maxBackoff : 'abcs' } ,
132
132
error :
133
- / r e t r y p o l i c y : m a x B a c k o f f m u s t b e a s t r i n g c o n s i s t i n g o f a p o s i t i v e i n t e g e r f o l l o w e d b y s / ,
133
+ / r e t r y p o l i c y : m a x B a c k o f f m u s t b e a s t r i n g c o n s i s t i n g o f a p o s i t i v e i n t e g e r o r d e c i m a l f o l l o w e d b y s / ,
134
134
} ,
135
135
{
136
136
description : 'an maxBackoff without an s' ,
137
137
config : { ...validRetryConfig , maxBackoff : '123' } ,
138
138
error :
139
- / r e t r y p o l i c y : m a x B a c k o f f m u s t b e a s t r i n g c o n s i s t i n g o f a p o s i t i v e i n t e g e r f o l l o w e d b y s / ,
139
+ / r e t r y p o l i c y : m a x B a c k o f f m u s t b e a s t r i n g c o n s i s t i n g o f a p o s i t i v e i n t e g e r o r d e c i m a l f o l l o w e d b y s / ,
140
140
} ,
141
141
{
142
142
description : 'omitted backoffMultiplier' ,
0 commit comments