From 7657e671fe488a01a5e73bac4b0018fe76cf7b56 Mon Sep 17 00:00:00 2001 From: Andi Skrgat Date: Fri, 19 May 2023 14:46:40 +0200 Subject: [PATCH] Disable storage_rocks test --- tests/unit/storage_rocks.cpp | 63 ++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 31 deletions(-) diff --git a/tests/unit/storage_rocks.cpp b/tests/unit/storage_rocks.cpp index 9ae565d76..7bd5774fb 100644 --- a/tests/unit/storage_rocks.cpp +++ b/tests/unit/storage_rocks.cpp @@ -9,42 +9,43 @@ // by the Apache License, Version 2.0, included in the file // licenses/APL.txt. -#include -#include -#include -#include -#include -#include +// #include +// #include +// #include +// #include +// #include +// #include -#include "query/common.hpp" -#include "query/db_accessor.hpp" -#include "storage/v2/delta.hpp" -#include "storage/v2/disk/storage.hpp" -#include "storage/v2/id_types.hpp" -#include "storage/v2/isolation_level.hpp" -#include "storage/v2/property_value.hpp" -#include "storage/v2/storage.hpp" -#include "storage/v2/vertex_accessor.hpp" -#include "storage/v2/view.hpp" -#include "utils/rocksdb.hpp" +// #include "query/common.hpp" +// #include "query/db_accessor.hpp" +// #include "storage/v2/delta.hpp" +// #include "storage/v2/disk/storage.hpp" +// #include "storage/v2/id_types.hpp" +// #include "storage/v2/isolation_level.hpp" +// #include "storage/v2/property_value.hpp" +// #include "storage/v2/storage.hpp" +// #include "storage/v2/vertex_accessor.hpp" +// #include "storage/v2/view.hpp" +// #include "utils/rocksdb.hpp" -class RocksDBStorageTest : public ::testing::TestWithParam { - public: - RocksDBStorageTest() { storage = std::unique_ptr(new memgraph::storage::DiskStorage()); } +// class RocksDBStorageTest : public ::testing::TestWithParam { +// public: +// RocksDBStorageTest() { storage = std::unique_ptr(new memgraph::storage::DiskStorage()); +// } - ~RocksDBStorageTest() override {} +// ~RocksDBStorageTest() override {} - protected: - std::unique_ptr storage; -}; +// protected: +// std::unique_ptr storage; +// }; -/// Serialize vertex which contains only GID. -TEST_F(RocksDBStorageTest, SerializeVertexGID) { - auto acc = storage->Access(); - auto vertex = acc->CreateVertex(); - auto gid = vertex.Gid(); - // ASSERT_EQ(memgraph::utils::SerializeVertex(*vertex.vertex_), "|" + memgraph::utils::SerializeIdType(gid)); -} +// /// Serialize vertex which contains only GID. +// TEST_F(RocksDBStorageTest, SerializeVertexGID) { +// auto acc = storage->Access(); +// auto vertex = acc->CreateVertex(); +// auto gid = vertex.Gid(); +// ASSERT_EQ(memgraph::utils::SerializeVertex(*vertex.vertex_), "|" + memgraph::utils::SerializeIdType(gid)); +// } /// Serialize vertex with gid and its single label. // TEST_F(RocksDBStorageTest, SerializeVertexGIDLabels) {