projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
5197: update the collection_owner_uuid_name_unique index to use expires_at is null...
[arvados.git]
/
services
/
crunchstat
/
crunchstat_test.go
diff --git
a/services/crunchstat/crunchstat_test.go
b/services/crunchstat/crunchstat_test.go
index 70caf26430ba6cb064a2e88c20a3f02af169cbb8..e3c3a597eacb640557e0e9fdd789a017ab35a8c8 100644
(file)
--- a/
services/crunchstat/crunchstat_test.go
+++ b/
services/crunchstat/crunchstat_test.go
@@
-66,13
+66,12
@@
func TestCopyPipeToChanLongLines(t *testing.T) {
long_line[i] = byte('x')
}
pipeOut.Write(long_line)
long_line[i] = byte('x')
}
pipeOut.Write(long_line)
- pipeOut.Close()
}()
// Expect error message from logChan.
errmsg := <-logChan
}()
// Expect error message from logChan.
errmsg := <-logChan
- if matched, err := regexp.MatchString("^
CopyPipeToChan
:.*token too long", errmsg); err != nil || !matched {
+ if matched, err := regexp.MatchString("^
crunchstat: line buffering error
:.*token too long", errmsg); err != nil || !matched {
t.Fatalf("expected CopyPipeToChan error, got %s", errmsg)
}
t.Fatalf("expected CopyPipeToChan error, got %s", errmsg)
}