Skip to content

Commit

Permalink
Remove label from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
areveny committed Jan 20, 2022
1 parent ed59e62 commit 52578a7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions toxics/slicer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ func TestSlicerToxic(t *testing.T) {

buf := make([]byte, 0, len(data))
reads := 0
L:
for {

for timeout := false; !timeout; {
select {
case c := <-output:
reads++
buf = append(buf, c.Data...)
case <-time.After(10 * time.Millisecond):
break L
timeout = true
}
}

Expand Down Expand Up @@ -86,14 +86,14 @@ func TestSlicerToxicZeroSizeVariation(t *testing.T) {

buf := make([]byte, 0, len(data))
reads := 0
L:
for {

for timeout := false; !timeout; {
select {
case c := <-output:
reads++
buf = append(buf, c.Data...)
case <-time.After(10 * time.Millisecond):
break L
timeout = true
}
}

Expand Down

0 comments on commit 52578a7

Please sign in to comment.