File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,15 @@ config:
44 # Over 60s, ramp up to creating 50 vusers per second
55 - duration : 60
66 arrivalRate : 5
7- # rampTo: 50
8- rampTo : 10
7+ rampTo : 150
98 name : ' Ramp Up'
109 # Over 300s, create 50 vusers per second
1110 - duration : 300
12- # arrivalRate: 50
13- arrivalRate : 10
11+ arrivalRate : 150
1412 name : ' Sustained Sign Session Key'
1513 # Over 60s, ramp down to creating 5 vusers per second
1614 - duration : 60
17- arrivalRate : 5
15+ arrivalRate : 20
1816 name : ' Ramp Down'
1917 processor : ' ../src/processors/multi-endpoints.ts'
2018
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const _network = process.env['NETWORK'];
1717
1818// CONFIGURATIONS
1919const REJECT_BALANCE_THRESHOLD = 0 ;
20- const LEDGER_MINIMUM_BALANCE = 20000 ;
20+ const LEDGER_MINIMUM_BALANCE = 10000 ;
2121
2222( async ( ) => {
2323 // -- Start
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ const createAuthContextFromState = async () => {
112112 [ 'access-control-condition-decryption' , '*' ] ,
113113 ] ,
114114 capabilityAuthSigs : [ ] ,
115- expiration : new Date ( Date . now ( ) + 1000 * 60 * 15 ) . toISOString ( ) ,
115+ expiration : new Date ( Date . now ( ) + 1000 * 60 * 30 ) . toISOString ( ) ,
116116 } ,
117117 litClient : litClient ,
118118 } ) ;
@@ -166,7 +166,15 @@ export async function runPkpSignTest() {
166166 ) ;
167167
168168 // Throw the error to let Artillery handle it
169- throw error ;
169+ // Handle specific errors to aggregate them
170+ if (
171+ error instanceof Error &&
172+ error . message . includes ( 'unable to get signature share' )
173+ ) {
174+ throw new Error ( '"PKP Sign" failed. unable to get signature share.' ) ;
175+ } else {
176+ throw error ;
177+ }
170178 }
171179}
172180
You can’t perform that action at this time.
0 commit comments