Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael committed Oct 13, 2024
1 parent 6d8af76 commit 9945b2c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions streaming/options/options_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func TestSinkOptions(t *testing.T) {
MaxPolled: 1000,
BufferSize: 1000,
LastEventID: "$",
AckGracePeriod: 30 * time.Second,
AckGracePeriod: 20 * time.Second,
},
},
{
Expand All @@ -170,7 +170,7 @@ func TestSinkOptions(t *testing.T) {
MaxPolled: 1000,
BufferSize: 1000,
LastEventID: "$",
AckGracePeriod: 30 * time.Second,
AckGracePeriod: 20 * time.Second,
},
},
{
Expand All @@ -181,7 +181,7 @@ func TestSinkOptions(t *testing.T) {
MaxPolled: 10,
BufferSize: 1000,
LastEventID: "$",
AckGracePeriod: 30 * time.Second,
AckGracePeriod: 20 * time.Second,
},
},
{
Expand All @@ -192,7 +192,7 @@ func TestSinkOptions(t *testing.T) {
MaxPolled: 1000,
BufferSize: 1000,
LastEventID: "$",
AckGracePeriod: 30 * time.Second,
AckGracePeriod: 20 * time.Second,
Topic: "foo",
},
},
Expand All @@ -204,7 +204,7 @@ func TestSinkOptions(t *testing.T) {
MaxPolled: 1000,
BufferSize: 1000,
LastEventID: "$",
AckGracePeriod: 30 * time.Second,
AckGracePeriod: 20 * time.Second,
TopicPattern: "foo*",
},
},
Expand All @@ -216,7 +216,7 @@ func TestSinkOptions(t *testing.T) {
MaxPolled: 1000,
BufferSize: 10,
LastEventID: "$",
AckGracePeriod: 30 * time.Second,
AckGracePeriod: 20 * time.Second,
},
},
{
Expand All @@ -227,7 +227,7 @@ func TestSinkOptions(t *testing.T) {
MaxPolled: 1000,
BufferSize: 1000,
LastEventID: "foo",
AckGracePeriod: 30 * time.Second,
AckGracePeriod: 20 * time.Second,
},
},
{
Expand All @@ -238,7 +238,7 @@ func TestSinkOptions(t *testing.T) {
MaxPolled: 1000,
BufferSize: 1000,
LastEventID: fmt.Sprintf("%d-0", date.UnixMilli()),
AckGracePeriod: 30 * time.Second,
AckGracePeriod: 20 * time.Second,
},
},
{
Expand All @@ -249,7 +249,7 @@ func TestSinkOptions(t *testing.T) {
MaxPolled: 1000,
BufferSize: 1000,
LastEventID: "$",
AckGracePeriod: 30 * time.Second,
AckGracePeriod: 20 * time.Second,
NoAck: true,
},
},
Expand Down

0 comments on commit 9945b2c

Please # to comment.