From 37e10e1d7241f6220d6460f3c5d9682376a10395 Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Fri, 3 Nov 2023 21:09:24 -0400 Subject: [PATCH] disable lock manager tests Signed-off-by: Alex Chi --- src/include/concurrency/transaction.h | 2 +- ..._detection_test.cpp => deadlock_detection_test.cpp.disabled} | 0 .../{lock_manager_test.cpp => lock_manager_test.cpp.disabled} | 0 ...n_integration_test.cpp => txn_integration_test.cpp.disabled} | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename test/concurrency/{deadlock_detection_test.cpp => deadlock_detection_test.cpp.disabled} (100%) rename test/concurrency/{lock_manager_test.cpp => lock_manager_test.cpp.disabled} (100%) rename test/concurrency/{txn_integration_test.cpp => txn_integration_test.cpp.disabled} (100%) diff --git a/src/include/concurrency/transaction.h b/src/include/concurrency/transaction.h index 8fa6e0fb6..63327b22f 100644 --- a/src/include/concurrency/transaction.h +++ b/src/include/concurrency/transaction.h @@ -141,7 +141,7 @@ class Transaction { write_set_[t].insert(rid); } - inline auto AppendScanPredicate(table_oid_t t, AbstractExpressionRef predicate) { + inline auto AppendScanPredicate(table_oid_t t, const AbstractExpressionRef &predicate) { std::scoped_lock lck(latch_); scan_predicates_.emplace_back(predicate); } diff --git a/test/concurrency/deadlock_detection_test.cpp b/test/concurrency/deadlock_detection_test.cpp.disabled similarity index 100% rename from test/concurrency/deadlock_detection_test.cpp rename to test/concurrency/deadlock_detection_test.cpp.disabled diff --git a/test/concurrency/lock_manager_test.cpp b/test/concurrency/lock_manager_test.cpp.disabled similarity index 100% rename from test/concurrency/lock_manager_test.cpp rename to test/concurrency/lock_manager_test.cpp.disabled diff --git a/test/concurrency/txn_integration_test.cpp b/test/concurrency/txn_integration_test.cpp.disabled similarity index 100% rename from test/concurrency/txn_integration_test.cpp rename to test/concurrency/txn_integration_test.cpp.disabled