Skip to content

Commit

Permalink
Fix benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDiekmann committed Oct 1, 2024
1 parent 0ea6f50 commit 882b224
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ async fn seed_db<A: AuthorizationApi>(
seed(
&mut transaction,
account_id,
[data_type::TEXT_V1, data_type::NUMBER_V1],
[
data_type::VALUE_V1,
data_type::TEXT_V1,
data_type::NUMBER_V1,
],
[
property_type::NAME_V1,
property_type::BLURB_V1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ async fn seed_db<A: AuthorizationApi>(
seed(
&mut transaction,
account_id,
[data_type::TEXT_V1, data_type::NUMBER_V1],
[
data_type::VALUE_V1,
data_type::TEXT_V1,
data_type::NUMBER_V1,
],
[
property_type::NAME_V1,
property_type::BLURB_V1,
Expand Down
3 changes: 2 additions & 1 deletion tests/hash-graph-benches/representative_read/seed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ use crate::util::{StoreWrapper, seed};
// See https://linear.app/hash/issue/H-1628
// WARNING: Careful when reordering these, unfortunately ordering matters here due to
// interdependencies, it's flakey and a bit hacky
const SEED_DATA_TYPES: [&str; 6] = [
const SEED_DATA_TYPES: [&str; 7] = [
data_type::VALUE_V1,
data_type::BOOLEAN_V1,
data_type::EMPTY_LIST_V1,
data_type::NULL_V1,
Expand Down

0 comments on commit 882b224

Please sign in to comment.