projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '20468-installer-perf-knobs'. Closes #20468
[arvados.git]
/
services
/
ws
/
session_v0_test.go
diff --git
a/services/ws/session_v0_test.go
b/services/ws/session_v0_test.go
index 7986cc7b08f95598ae4756be0aa1ca3dea2e2f7b..d7c9edb24f512186f68debcf86fe70d64dd34f60 100644
(file)
--- a/
services/ws/session_v0_test.go
+++ b/
services/ws/session_v0_test.go
@@
-35,7
+35,7
@@
type v0Suite struct {
token string
toDelete []string
wg sync.WaitGroup
token string
toDelete []string
wg sync.WaitGroup
- ignoreLogID
u
int64
+ ignoreLogID int64
}
func (s *v0Suite) SetUpTest(c *check.C) {
}
func (s *v0Suite) SetUpTest(c *check.C) {
@@
-363,8
+363,8
@@
func (s *v0Suite) testClient() (*websocket.Conn, *json.Decoder, *json.Encoder) {
return conn, r, w
}
return conn, r, w
}
-func (s *v0Suite) lastLogID(c *check.C)
u
int64 {
- var lastID
u
int64
+func (s *v0Suite) lastLogID(c *check.C) int64 {
+ var lastID int64
c.Assert(testDB().QueryRow(`SELECT MAX(id) FROM logs`).Scan(&lastID), check.IsNil)
return lastID
}
c.Assert(testDB().QueryRow(`SELECT MAX(id) FROM logs`).Scan(&lastID), check.IsNil)
return lastID
}