File tree Expand file tree Collapse file tree
src/vs/platform/files/test/node Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ suite('Disk File Service', function () {
134134 // we see random test failures when accessing the native file system. To
135135 // diagnose further, we retry node.js file access tests up to 3 times to
136136 // rule out any random disk issue.
137- this . retries ( 3 ) ;
137+ // this.retries(3);
138138
139139 setup ( async ( ) => {
140140 const logService = new NullLogService ( ) ;
@@ -1493,15 +1493,15 @@ suite('Disk File Service', function () {
14931493 }
14941494
14951495 test ( 'createFile' , async ( ) => {
1496- assertCreateFile ( contents => VSBuffer . fromString ( contents ) ) ;
1496+ return assertCreateFile ( contents => VSBuffer . fromString ( contents ) ) ;
14971497 } ) ;
14981498
14991499 test ( 'createFile (readable)' , async ( ) => {
1500- assertCreateFile ( contents => bufferToReadable ( VSBuffer . fromString ( contents ) ) ) ;
1500+ return assertCreateFile ( contents => bufferToReadable ( VSBuffer . fromString ( contents ) ) ) ;
15011501 } ) ;
15021502
15031503 test ( 'createFile (stream)' , async ( ) => {
1504- assertCreateFile ( contents => bufferToStream ( VSBuffer . fromString ( contents ) ) ) ;
1504+ return assertCreateFile ( contents => bufferToStream ( VSBuffer . fromString ( contents ) ) ) ;
15051505 } ) ;
15061506
15071507 async function assertCreateFile ( converter : ( content : string ) => VSBuffer | VSBufferReadable | VSBufferReadableStream ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments