From 08816dcf8eadb0487241f430e1f7491a3ea5dcb3 Mon Sep 17 00:00:00 2001 From: Carlo Piovesan Date: Mon, 9 Oct 2023 14:26:28 +0200 Subject: [PATCH] Reenable arrow test by disabling autoloading Problem with CI was that this test is depenendent on whenever CI had finished or not uploading extensions --- test/arrow.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/arrow.test.ts b/test/arrow.test.ts index d3b6f23f..cf744982 100644 --- a/test/arrow.test.ts +++ b/test/arrow.test.ts @@ -2,14 +2,16 @@ import * as duckdb from '..'; import * as assert from 'assert'; import {ArrowArray} from ".."; -describe.skip('arrow IPC API fails neatly when extension not loaded', function() { +describe('arrow IPC API fails neatly when extension not loaded', function() { // Note: arrow IPC api requires the arrow extension to be loaded. The tests for this functionality reside in: // https://github.com/duckdblabs/arrow let db: duckdb.Database; let conn; before((done) => { db = new duckdb.Database(':memory:', {"allow_unsigned_extensions": "true"}, () => { - done(); + db.all('SET autoload_known_extensions=false;', () => { + done(); + }); }); });