From bd5a04fffeb96b42e5aa085ff35cd92b0fc6e332 Mon Sep 17 00:00:00 2001 From: Jan de Visser Date: Wed, 23 Jun 2021 19:55:20 -0400 Subject: [PATCH] LibSQL: Reduce run time of TestSqlDatabase Scanning tables is a linear process using pointers in the table's tuples, and does not involve more 'stochastic' code paths like index traversals. Therefore the 1000 and 10000 row tests were basically overkill and added nothing we can't find out with less rows. --- Tests/LibSQL/TestSqlDatabase.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Tests/LibSQL/TestSqlDatabase.cpp b/Tests/LibSQL/TestSqlDatabase.cpp index ee65436af63..fad6e659db2 100644 --- a/Tests/LibSQL/TestSqlDatabase.cpp +++ b/Tests/LibSQL/TestSqlDatabase.cpp @@ -176,13 +176,3 @@ TEST_CASE(insert_100_into_table) { insert_and_verify(100); } - -TEST_CASE(insert_1000_into_table) -{ - insert_and_verify(1000); -} - -TEST_CASE(insert_10000_into_table) -{ - insert_and_verify(10000); -}