Skip to content

Commit

Permalink
reduce flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Jan 12, 2025
1 parent 59c67a0 commit c1cd1cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/api_rasterband.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ describe('gdal.RasterBand', () => {
assert.equal(data[10 * 20 + 10], 10)
})
describe('w/data over 4GB', function () {
this.timeout(60000)
this.timeout(120000)
// These tests require at least 16GB of memory to be reliable
const size = 66000
it('when returning a new TypedArray', () => {
Expand Down
3 changes: 2 additions & 1 deletion test/api_utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,8 @@ describe('gdal_utils', () => {
gdal.vsimem.release(tmpFile)
}))
})
it('should support progress callbacks', () => {
it('should support progress callbacks', function () {
this.retries(3)
const ds = gdal.open(path.resolve(__dirname, 'data', 'sample.tif'))
const tmpFile = `/vsimem/${String(Math.random()).substring(2)}.tif`
let calls = 0
Expand Down

0 comments on commit c1cd1cc

Please sign in to comment.