Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
liulx20 committed Dec 20, 2023
1 parent 4627a0b commit 3635f06
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flex/engines/graph_db/grin/src/topology/structure.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ GRIN_GRAPH grin_get_graph_from_storage(const char* uri) {

GRIN_GRAPH_T* g = new GRIN_GRAPH_T();

g->g.Open(data_dir);
g->g.Open(data_dir, false);
init_cache(g);
return g;
}
Expand Down
9 changes: 8 additions & 1 deletion flex/tests/rt_mutable_graph/string_edge_property_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,14 @@ int main(int argc, char** argv) {
auto& db = gs::GraphDB::get();

auto schema = gs::Schema::LoadFromYaml(graph_schema_path);
db.Open(schema, data_path, shard_num, warmup);
db.Open(schema, data_path, shard_num, warmup, true);

t0 += grape::GetCurrentTime();

LOG(INFO) << "Finished loading graph, elapsed " << t0 << " s";
gs::TestStringEdgeProperty(db).test();
db.Close();
db.Open(schema, data_path, shard_num, warmup, false);

t0 += grape::GetCurrentTime();

Expand Down

0 comments on commit 3635f06

Please sign in to comment.