Commit 9bc6b2e8 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f6540a23
...@@ -229,9 +229,9 @@ type tConnection struct { ...@@ -229,9 +229,9 @@ type tConnection struct {
*testing.T *testing.T
// a transaction and DB connection opened under it // a transaction and DB connection opened under it
txn transaction.Transaction txn transaction.Transaction
ctx context.Context ctx context.Context
conn *Connection conn *Connection
} }
// testdb creates and initializes new test database. // testdb creates and initializes new test database.
...@@ -597,8 +597,8 @@ func testPersistentDB(t0 *testing.T, rawcache bool) { ...@@ -597,8 +597,8 @@ func testPersistentDB(t0 *testing.T, rawcache bool) {
t.checkObj(obj2, 102, InvalidTid, GHOST, 0) t.checkObj(obj2, 102, InvalidTid, GHOST, 0)
// obj2 data should be new // obj2 data should be new
t.PActivate(obj1); t.PActivate(obj1)
t.PActivate(obj2); t.PActivate(obj2)
t.checkObj(obj1, 101, at1, UPTODATE, 1, "hello") t.checkObj(obj1, 101, at1, UPTODATE, 1, "hello")
t.checkObj(obj2, 102, at2, UPTODATE, 1, "kitty") t.checkObj(obj2, 102, at2, UPTODATE, 1, "kitty")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment