projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18808: Handle concurrent uses of same previously unseen token.
[arvados.git]
/
lib
/
controller
/
localdb
/
container_gateway_test.go
diff --git
a/lib/controller/localdb/container_gateway_test.go
b/lib/controller/localdb/container_gateway_test.go
index 2a77357677b3d7f064832d471257866ef356b07a..70037cc501401375ee107d8e243f21e8f15c3cb5 100644
(file)
--- a/
lib/controller/localdb/container_gateway_test.go
+++ b/
lib/controller/localdb/container_gateway_test.go
@@
-210,10
+210,9
@@
func (s *ContainerGatewaySuite) TestConnect(c *check.C) {
// Receive binary
_, err = io.ReadFull(sshconn.Conn, buf[:4])
c.Check(err, check.IsNil)
// Receive binary
_, err = io.ReadFull(sshconn.Conn, buf[:4])
c.Check(err, check.IsNil)
- c.Check(buf[:4], check.DeepEquals, []byte{0, 0, 1, 0xfc})
// If we can get this far into an SSH handshake...
// If we can get this far into an SSH handshake...
- c.Log
("success, tunnel is working"
)
+ c.Log
f("was able to read %x -- success, tunnel is working", buf[:4]
)
}()
select {
case <-done:
}()
select {
case <-done: