@@ -37,6 +37,8 @@ test('add blob from path', async (t) => {
3737 t . is ( allDone . format , 'Raw' )
3838 t . truthy ( allDone . tag )
3939 t . truthy ( allDone . hash )
40+
41+ await node . node . shutdown ( false )
4042} )
4143
4244test ( 'hash basics' , ( t ) => {
@@ -101,6 +103,8 @@ test('collections', async (t) => {
101103 t . is ( collectionList . length , 1 )
102104 t . is ( collectionList [ 0 ] . hash , res . hash )
103105 t . is ( collectionList [ 0 ] . totalBlobsCount , BigInt ( numFiles + 1 ) )
106+
107+ await node . node . shutdown ( false )
104108} )
105109
106110test ( 'share' , async ( t ) => {
@@ -114,6 +118,8 @@ test('share', async (t) => {
114118 t . is ( ticket . format , res . format )
115119 t . is ( ticket . hash , res . hash )
116120 t . deepEqual ( ticket . nodeAddr , nodeAddr )
121+
122+ await node . node . shutdown ( false )
117123} )
118124
119125test ( 'provide events' , async ( t ) => {
@@ -167,4 +173,7 @@ test('provide events', async (t) => {
167173 await promise1
168174
169175 t . is ( events . length , 4 )
176+
177+ await node1 . node . shutdown ( false )
178+ await node2 . node . shutdown ( false )
170179} )
0 commit comments