Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
9bc6b2e8
Commit
9bc6b2e8
authored
Mar 12, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f6540a23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
go/zodb/persistent_test.go
go/zodb/persistent_test.go
+5
-5
No files found.
go/zodb/persistent_test.go
View file @
9bc6b2e8
...
@@ -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"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment