Skip to content

Commit 8bac3a1

Browse files
committed
Try smaller free space test
1 parent 4977079 commit 8bac3a1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/prebuild.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
with:
5959
files: prebuild-win32.tar
6060
build-test-win32-arm64:
61-
if: startsWith(github.ref, 'refs/tags/')
61+
#if: startsWith(github.ref, 'refs/tags/')
6262
env:
6363
LMDB_DATA_V1: ${{ contains(github.ref, '-v1') }}
6464
runs-on: windows-11-arm

test/index.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,9 +418,9 @@ describe('lmdb-js', function () {
418418

419419
let promise;
420420
let additive = 'this is more text';
421-
for (let i = 0; i < 7; i++) additive += additive;
421+
for (let i = 0; i < 6; i++) additive += additive;
422422
let read_txn = db.useReadTransaction();
423-
for (let i = 0; i < 5000; i++) {
423+
for (let i = 0; i < 500; i++) {
424424
if (Math.random() < 0.3) {
425425
read_txn.done();
426426
read_txn = db.useReadTransaction();
@@ -2104,4 +2104,4 @@ describe('lmdb-js', function () {
21042104

21052105
function delay(ms) {
21062106
return new Promise((resolve) => setTimeout(resolve, ms));
2107-
}
2107+
}

0 commit comments

Comments
 (0)