16
16
17
17
class LevelDB_Perf_Stress (unittest .TestCase ):
18
18
@unittest .skip ("skipping" )
19
- def test_FAB3584_SkeletonQueries (self ):
19
+ def test_FAB3808_TPS_Queries_1_Thread_TinyNtwk (self ):
20
20
'''
21
- FAB-2032,FAB-3584
22
- Network: 1 Ord, 1 KB, 1 ZK, 2 Org, 2 Peers, 1 Chan, 1 CC
23
- Launch skeleton network, use PTE in STRESS mode to continuously
21
+ Tiny Network: 1 Ord, 1 KB, 1 ZK, 2 Org, 2 Peers, 1 Chan, 1 CC, 2 thrds
22
+ Launch tiny network, use PTE in STRESS mode to continuously
24
23
send 10000 query transactions concurrently to 1 peer in both orgs,
25
24
calculate tps, and remove network and cleanup
26
25
'''
@@ -30,11 +29,10 @@ def test_FAB3584_SkeletonQueries(self):
30
29
self .assertIn (TEST_PASS_STRING , result )
31
30
32
31
@unittest .skip ("skipping" )
33
- def test_FAB3586_SkeletonInvokes (self ):
32
+ def test_FAB3811_TPS_Invokes_1_Thread_TinyNtwk (self ):
34
33
'''
35
- FAB-2032,FAB-3586
36
- Network: 1 Ord, 1 KB, 1 ZK, 2 Org, 2 Peers, 1 Chan, 1 CC
37
- Launch skeleton network, use PTE in STRESS mode to continuously
34
+ Tiny Network: 1 Ord, 1 KB, 1 ZK, 2 Org, 2 Peers, 1 Chan, 1 CC, 2 thrds
35
+ Launch tiny network, use PTE in STRESS mode to continuously
38
36
send 10000 query transactions concurrently to 1 peer in both orgs,
39
37
query the ledger to ensure the last transaction was written,
40
38
calculate tps, remove network and cleanup
@@ -43,52 +41,25 @@ def test_FAB3586_SkeletonInvokes(self):
43
41
self .assertIn (TEST_PASS_STRING , result )
44
42
45
43
@unittest .skip ("skipping" )
46
- def test_FAB3593_Standard_basic_TLS (self ):
44
+ def test_FAB3833_TPS_Queries_8_Thread_TinyNtwk (self ):
47
45
'''
48
- FAB-2032,FAB-3593
49
- Network: 2 Ord, 5 KB, 3 ZK, 2 Org, 4 Peers, 10 Chan, 10 CC
50
- Launch network, use PTE stress mode to send 100 invoke transactions
51
- concurrently to all peers on all channels on all chaincodes,
52
- query the ledger for each to ensure the last transaction was written,
53
- calculate tps, remove network and cleanup
54
- '''
55
- result = subprocess .check_output ("./TestPlaceholder.sh" , shell = True )
56
- self .assertIn (TEST_PASS_STRING , result )
57
-
58
- @unittest .skip ("skipping" )
59
- def test_FAB3595_Standard_basic_1M (self ):
60
- '''
61
- FAB-2032,FAB-3595
62
- Network: 2 Ord, 5 KB, 3 ZK, 2 Org, 4 Peers, 10 Chan, 10 CC
63
- Launch network, use PTE stress mode to send 100 invoke transactions
64
- concurrently to all peers on all channels on all chaincodes,
65
- query the ledger for each to ensure the last transaction was written,
66
- calculate tps, remove network and cleanup
67
- '''
68
- result = subprocess .check_output ("./TestPlaceholder.sh" , shell = True )
69
- self .assertIn (TEST_PASS_STRING , result )
70
-
71
- @unittest .skip ("skipping" )
72
- def test_FAB3597_Standard_basic_Gossip (self ):
73
- '''
74
- FAB-2032,FAB-3597
75
- Network: 2 Ord, 5 KB, 3 ZK, 2 Org, 4 Peers, 10 Chan, 10 CC
76
- Launch network, use PTE stress mode to send 100 invoke transactions
77
- concurrently to all peers on all channels on all chaincodes,
78
- query the ledger for each to ensure the last transaction was written,
79
- calculate tps, remove network and cleanup
46
+ Tiny Network: 1 Ord, 1 KB, 1 ZK, 2 Org, 2 Peers, 1 Chan, 1 CC, 2 thrds
47
+ Launch tiny network, use PTE in STRESS mode to continuously
48
+ send 10000 query transactions concurrently to 1 peer in both orgs,
49
+ calculate tps, and remove network and cleanup
80
50
'''
51
+ # Replace TestPlaceholder.sh with actual test name, something like:
52
+ # ../../tools/PTE/tests/runSkeletonQueriesLevel.sh
81
53
result = subprocess .check_output ("./TestPlaceholder.sh" , shell = True )
82
54
self .assertIn (TEST_PASS_STRING , result )
83
55
84
56
@unittest .skip ("skipping" )
85
- def test_FAB3599_Standard_12Hr (self ):
57
+ def test_FAB3835_TPS_Invokes_8_Thread_TinyNtwk (self ):
86
58
'''
87
- FAB-2032,FAB-3599
88
- Network: 2 Ord, 5 KB, 3 ZK, 2 Org, 4 Peers, 10 Chan, 10 CC
89
- Launch network, use PTE stress mode to send invoke transactions
90
- concurrently to all peers on all channels on all chaincodes,
91
- query the ledger for each to ensure the last transaction was written,
59
+ Tiny Network: 1 Ord, 1 KB, 1 ZK, 2 Org, 2 Peers, 1 Chan, 1 CC, 2 thrds
60
+ Launch tiny network, use PTE in STRESS mode to continuously
61
+ send 10000 query transactions concurrently to 1 peer in both orgs,
62
+ query the ledger to ensure the last transaction was written,
92
63
calculate tps, remove network and cleanup
93
64
'''
94
65
result = subprocess .check_output ("./TestPlaceholder.sh" , shell = True )
@@ -101,11 +72,10 @@ def test_FAB3599_Standard_12Hr(self):
101
72
102
73
class CouchDB_Perf_Stress (unittest .TestCase ):
103
74
@unittest .skip ("skipping" )
104
- def test_FAB3585_SkeletonQueries (self ):
75
+ def test_FAB3807_TPS_Queries_1_Thread_TinyNtwk (self ):
105
76
'''
106
- FAB-2032,FAB-3585
107
- Network: 1 Ord, 1 KB, 1 ZK, 2 Org, 2 Peers, 1 Chan, 1 CC
108
- Launch skeleton network, use PTE in STRESS mode to continuously
77
+ Tiny Network: 1 Ord, 1 KB, 1 ZK, 2 Org, 2 Peers, 1 Chan, 1 CC, 2 thrds
78
+ Launch tiny network, use PTE in STRESS mode to continuously
109
79
send 10000 query transactions concurrently to 1 peer in both orgs,
110
80
calculate tps, and remove network and cleanup
111
81
'''
@@ -115,11 +85,10 @@ def test_FAB3585_SkeletonQueries(self):
115
85
self .assertIn (TEST_PASS_STRING , result )
116
86
117
87
@unittest .skip ("skipping" )
118
- def test_FAB3587_SkeletonInvokes (self ):
88
+ def test_FAB3810_TPS_Invokes_1_Thread_TinyNtwk (self ):
119
89
'''
120
- FAB-2032,FAB-3587
121
- Network: 1 Ord, 1 KB, 1 ZK, 2 Org, 2 Peers, 1 Chan, 1 CC
122
- Launch skeleton network, use PTE in STRESS mode to continuously
90
+ Tiny Network: 1 Ord, 1 KB, 1 ZK, 2 Org, 2 Peers, 1 Chan, 1 CC, 2 thrds
91
+ Launch tiny network, use PTE in STRESS mode to continuously
123
92
send 10000 query transactions concurrently to 1 peer in both orgs,
124
93
query the ledger to ensure the last transaction was written,
125
94
calculate tps, remove network and cleanup
@@ -128,116 +97,66 @@ def test_FAB3587_SkeletonInvokes(self):
128
97
self .assertIn (TEST_PASS_STRING , result )
129
98
130
99
@unittest .skip ("skipping" )
131
- def test_FAB3588_Scaleup1 (self ):
132
- '''
133
- FAB-2032,FAB-3588
134
- Network: 2 Ord, 5 KB, 3 ZK, 2 Org, 4 Peers, 20 Chan, 2 CC
135
- Launch network, use PTE stress mode to send 100 invoke transactions
136
- concurrently to all peers on all channels on all chaincodes,
137
- query the ledger for each to ensure the last transaction was written,
138
- calculate tps, remove network and cleanup
139
- '''
140
- result = subprocess .check_output ("./TestPlaceholder.sh" , shell = True )
141
- self .assertIn (TEST_PASS_STRING , result )
142
-
143
- @unittest .skip ("skipping" )
144
- def test_FAB3589_Scaleup2 (self ):
100
+ def test_FAB3832_TPS_Queries_8_Thread_TinyNtwk (self ):
145
101
'''
146
- FAB-2032,FAB-3589
147
- Network: 2 Ord, 5 KB, 3 ZK, 4 Org, 8 Peers, 40 Chan, 4 CC
148
- Launch network, use PTE stress mode to send 100 invoke transactions
149
- concurrently to all peers on all channels on all chaincodes,
150
- query the ledger for each to ensure the last transaction was written,
151
- calculate tps, remove network and cleanup
152
- '''
153
- result = subprocess .check_output ("./TestPlaceholder.sh" , shell = True )
154
- self .assertIn (TEST_PASS_STRING , result )
155
-
156
- @unittest .skip ("skipping" )
157
- def test_FAB3590_Scaleup3 (self ):
158
- '''
159
- FAB-2032,FAB-3590
160
- Network: 2 Ord, 5 KB, 3 ZK, 8 Org, 16 Peers, 80 Chan, 8 CC
161
- Launch network, use PTE stress mode to send 100 invoke transactions
162
- concurrently to all peers on all channels on all chaincodes,
163
- query the ledger for each to ensure the last transaction was written,
164
- calculate tps, remove network and cleanup
165
- '''
166
- result = subprocess .check_output ("./TestPlaceholder.sh" , shell = True )
167
- self .assertIn (TEST_PASS_STRING , result )
168
-
169
- @unittest .skip ("skipping" )
170
- def test_FAB3591_Scaleup4 (self ):
171
- '''
172
- FAB-2032,FAB-3591
173
- Network: 4 Ord, 5 KB, 3 ZK, 16 Org, 32 Peers, 160 Chan, 16 CC
174
- Launch network, use PTE stress mode to send 100 invoke transactions
175
- concurrently to all peers on all channels on all chaincodes,
176
- query the ledger for each to ensure the last transaction was written,
177
- calculate tps, remove network and cleanup
178
- '''
179
- result = subprocess .check_output ("./TestPlaceholder.sh" , shell = True )
180
- self .assertIn (TEST_PASS_STRING , result )
181
-
182
- @unittest .skip ("skipping" )
183
- def test_FAB3592_Scaleup5 (self ):
184
- '''
185
- FAB-2032,FAB-3592
186
- Network: 4 Ord, 5 KB, 3 ZK, 32 Org, 64 Peers, 320 Chan, 32 CC
187
- Launch network, use PTE stress mode to send 100 invoke transactions
188
- concurrently to all peers on all channels on all chaincodes,
189
- query the ledger for each to ensure the last transaction was written,
190
- calculate tps, remove network and cleanup
102
+ Tiny Network: 1 Ord, 1 KB, 1 ZK, 2 Org, 2 Peers, 1 Chan, 1 CC, 2 thrds
103
+ Launch tiny network, use PTE in STRESS mode to continuously
104
+ send 10000 query transactions concurrently to 1 peer in both orgs,
105
+ calculate tps, and remove network and cleanup
191
106
'''
107
+ # Replace TestPlaceholder.sh with actual test name, something like:
108
+ # ../../tools/PTE/tests/runSkeletonQueriesCouch.sh
192
109
result = subprocess .check_output ("./TestPlaceholder.sh" , shell = True )
193
110
self .assertIn (TEST_PASS_STRING , result )
194
111
195
112
@unittest .skip ("skipping" )
196
- def test_FAB3594_Standard_basic_TLS (self ):
113
+ def test_FAB3834_TPS_Invokes_8_Thread_TinyNtwk (self ):
197
114
'''
198
- FAB-2032,FAB-3594
199
- Network: 2 Ord, 5 KB, 3 ZK, 2 Org, 4 Peers, 10 Chan, 10 CC
200
- Launch network, use PTE stress mode to send 100 invoke transactions
201
- concurrently to all peers on all channels on all chaincodes,
202
- query the ledger for each to ensure the last transaction was written,
115
+ Tiny Network: 1 Ord, 1 KB, 1 ZK, 2 Org, 2 Peers, 1 Chan, 1 CC, 2 thrds
116
+ Launch tiny network, use PTE in STRESS mode to continuously
117
+ send 10000 query transactions concurrently to 1 peer in both orgs,
118
+ query the ledger to ensure the last transaction was written,
203
119
calculate tps, remove network and cleanup
204
120
'''
205
121
result = subprocess .check_output ("./TestPlaceholder.sh" , shell = True )
206
122
self .assertIn (TEST_PASS_STRING , result )
207
123
208
124
@unittest .skip ("skipping" )
209
- def test_FAB3596_Standard_basic_1M (self ):
125
+ def test_FAB3813_Baseline_StandardNtwk_8_Thread (self ):
210
126
'''
211
- FAB-2032,FAB-3596
212
- Network: 2 Ord, 5 KB, 3 ZK, 2 Org, 4 Peers, 10 Chan, 10 CC
213
- Launch network, use PTE stress mode to send 100 invoke transactions
214
- concurrently to all peers on all channels on all chaincodes,
127
+ "Standard Network": 2 Orderers, 3 KafkaBrokers, 3 ZooKeepers,
128
+ 2 Certificate Authorities (CAs - 1 per Org), 2 Organizations,
129
+ 2 Peers per Org, 4 Peers, 2 Channels, 2 ChainCodes, 8 total threads.
130
+ Launch network, use PTE stress mode to send 10000 invoke transactions
131
+ concurrently to a peer in each org on all channels on all chaincodes,
215
132
query the ledger for each to ensure the last transaction was written,
216
133
calculate tps, remove network and cleanup
217
134
'''
218
135
result = subprocess .check_output ("./TestPlaceholder.sh" , shell = True )
219
136
self .assertIn (TEST_PASS_STRING , result )
220
137
221
138
@unittest .skip ("skipping" )
222
- def test_FAB3598_Standard_basic_Gossip (self ):
139
+ def test_FAB3814_Payload_1Meg (self ):
223
140
'''
224
- FAB-2032,FAB-3598
225
- Network: 2 Ord, 5 KB, 3 ZK, 2 Org, 4 Peers, 10 Chan, 10 CC
226
- Launch network, use PTE stress mode to send 100 invoke transactions
227
- concurrently to all peers on all channels on all chaincodes,
141
+ Standard Network: 2 Orderers, 3 KafkaBrokers, 3 ZooKeepers,
142
+ 2 Certificate Authorities (CAs - 1 per Org), 2 Organizations,
143
+ 2 Peers per Org, 4 Peers, 2 Channels, 2 ChainCodes, 8 total threads.
144
+ Launch network, use PTE stress mode to send 10000 invoke transactions
145
+ concurrently to a peer in each org on all channels on all chaincodes,
228
146
query the ledger for each to ensure the last transaction was written,
229
147
calculate tps, remove network and cleanup
230
148
'''
231
149
result = subprocess .check_output ("./TestPlaceholder.sh" , shell = True )
232
150
self .assertIn (TEST_PASS_STRING , result )
233
151
234
152
@unittest .skip ("skipping" )
235
- def test_FAB3600_Standard_12Hr (self ):
153
+ def test_FAB3816_GossipStress_10_PeersPerOrg (self ):
236
154
'''
237
- FAB-2032,FAB-3600
238
- Network: 2 Ord, 5 KB, 3 ZK, 2 Org, 4 Peers, 10 Chan, 10 CC
239
- Launch network, use PTE stress mode to send invoke transactions
240
- concurrently to all peers on all channels on all chaincodes,
155
+ Standard Network plus extra peers: 2 Orderers, 3 KafkaBrokers, 3 ZKs,
156
+ 2 Certificate Authorities (CAs - 1 per Org), 2 Organizations,
157
+ 10 Peers per Org, 4 Peers, 2 Channels, 2 ChainCodes, 8 total threads.
158
+ Launch network, use PTE stress mode to send 10000 invoke transactions
159
+ concurrently to a peer in each org on all channels on all chaincodes,
241
160
query the ledger for each to ensure the last transaction was written,
242
161
calculate tps, remove network and cleanup
243
162
'''
0 commit comments