diff options
author | EuAndreh <eu@euandre.org> | 2024-10-01 09:57:51 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-10-01 09:57:51 -0300 |
commit | cdebb5b2e0cb6b3b8f99c3e16c2571be730c26b8 (patch) | |
tree | feb507ca7fade72b970b98c9fc914f787b79620f /tests/golite.go | |
parent | Recover aggregation and collation trampoline, alongside their tests (diff) | |
download | golite-cdebb5b2e0cb6b3b8f99c3e16c2571be730c26b8.tar.gz golite-cdebb5b2e0cb6b3b8f99c3e16c2571be730c26b8.tar.xz |
tests/golite.go: Enable slow tests
Diffstat (limited to 'tests/golite.go')
-rw-r--r-- | tests/golite.go | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/golite.go b/tests/golite.go index d833a0d..606dc2b 100644 --- a/tests/golite.go +++ b/tests/golite.go @@ -907,7 +907,6 @@ FROM test_table t1 LEFT OUTER JOIN test_table t2` func TestQueryRowContextCancel(t *testing.T) { // FIXME: too slow - return db, err := sql.Open("sqlite3", "file:query?mode=memory&cache=shared") if err != nil { t.Fatal(err) @@ -939,7 +938,7 @@ func TestQueryRowContextCancel(t *testing.T) { } func TestQueryRowContextCancelParallel(t *testing.T) { - return // FIXME: too slow + // FIXME: too slow db, err := sql.Open("sqlite3", "file:parallel?mode=memory&cache=shared") if err != nil { t.Fatal(err) @@ -3777,12 +3776,8 @@ func testNullZeroLengthBlobs(t *testing.T) { } } -// testManyQueryRow is test for many query row func testManyQueryRow(t *testing.T) { - if testing.Short() { - t.Log("skipping in short mode") - return - } + // FIXME: too slow tdb.tearDown() tdb.mustExec("create table foo (id integer primary key, name varchar(50))") tdb.mustExec("insert into foo (id, name) values(?,?)", 1, "bob") @@ -3795,7 +3790,6 @@ func testManyQueryRow(t *testing.T) { } } -// testTxQuery is test for transactional query func testTxQuery(t *testing.T) { tdb.tearDown() tx, err := tdb.Begin() |