@@ -162,8 +162,6 @@ async function testWithdraw(
162162}
163163
164164describe ( 'DataUnion withdraw' , ( ) => {
165- jest . setTimeout ( 3600000 ) // TODO: remove when it's been figured out how long is really needed
166-
167165 const balanceClient = createClient ( )
168166
169167 afterAll ( ( ) => {
@@ -219,7 +217,7 @@ describe('DataUnion withdraw', () => {
219217 memberClient . getDataUnion ( dataUnionAddress ) . withdrawAll ( options )
220218 )
221219 return testWithdraw ( getBalance , withdraw , true , options )
222- } , 300000 )
220+ } , 3600000 )
223221
224222 it ( 'to any address' , ( ) => {
225223 const outsiderWallet = new Wallet ( `0x100000000000000000000000000000000000000012300000002${ Date . now ( ) } ` , providerSidechain )
@@ -228,7 +226,7 @@ describe('DataUnion withdraw', () => {
228226 memberClient . getDataUnion ( dataUnionAddress ) . withdrawAllTo ( outsiderWallet . address , options )
229227 )
230228 return testWithdraw ( getBalance , withdraw , true , options )
231- } , 300000 )
229+ } , 3600000 )
232230
233231 } )
234232
@@ -240,7 +238,7 @@ describe('DataUnion withdraw', () => {
240238 adminClient . getDataUnion ( dataUnionAddress ) . withdrawAllToMember ( memberWallet . address , options )
241239 )
242240 return testWithdraw ( getBalance , withdraw , false , options )
243- } , 300000 )
241+ } , 3600000 )
244242
245243 it ( "to anyone with member's signature" , async ( ) => {
246244 const member2Wallet = new Wallet ( `0x100000000000000000000000000040000000000012300000007${ Date . now ( ) } ` , providerSidechain )
@@ -257,7 +255,7 @@ describe('DataUnion withdraw', () => {
257255 . withdrawAllToSigned ( memberWallet . address , member2Wallet . address , signature , options )
258256 }
259257 return testWithdraw ( getBalance , withdraw , false , options )
260- } , 300000 )
258+ } , 3600000 )
261259 } )
262260 } )
263261
0 commit comments