Add tests for codeOceanToRaw and null readers

The tests ensure the readers do not return when there is no data
available.
This commit is contained in:
Konrad Hanff
2021-06-18 09:14:07 +02:00
parent 17c1e379c2
commit 92f1af83ae
3 changed files with 85 additions and 1 deletions

View File

@ -1,6 +1,9 @@
package tests
import "errors"
import (
"errors"
"time"
)
const (
NonExistingIntegerID = 9999
@ -21,6 +24,7 @@ const (
AnotherRunnerID = AnotherJobID
DefaultExecutionID = "s0m3-3x3cu710n-1d"
DefaultMockID = "m0ck-1d"
ShortTimeout = 100 * time.Millisecond
)
var (