|
testing/txntest: transaction testing package
This is a WIP that allows testing of arbitrary concurrent
transaction-running operations, and also selective
exploration of possible sequences of actions.
https://code.launchpad.net/~rogpeppe/juju-core/254-txn-tester/+merge/155184
(do not edit description out of merge proposal)
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+854 lines, -39 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/annotator.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/conn_test.go
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/constraints.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/life.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/machine.go
|
View
|
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
state/open.go
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
state/relation.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/relationunit.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/service.go
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
state/settings.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
state/state.go
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
A |
state/txn_internal_test.go
|
View
|
1
|
1 chunk |
+45 lines, -0 lines |
0 comments
|
Download
|
 |
A |
state/txn_test.go
|
View
|
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/unit.go
|
View
|
|
14 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
M |
state/user.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
testing/txntest/mockstate_test.go
|
View
|
|
1 chunk |
+138 lines, -0 lines |
0 comments
|
Download
|
 |
A |
testing/txntest/txntest.go
|
View
|
|
1 chunk |
+425 lines, -0 lines |
0 comments
|
Download
|
 |
A |
testing/txntest/txntest_test.go
|
View
|
|
1 chunk |
+144 lines, -0 lines |
0 comments
|
Download
|
|