Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Sep 12, 2023
1 parent bb6f3fa commit 3c03296
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/storage/hummock_test/src/failpoint_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ use risingwave_storage::hummock::test_utils::{count_stream, default_opts_for_tes
use risingwave_storage::hummock::{CachePolicy, HummockStorage};
use risingwave_storage::storage_value::StorageValue;
use risingwave_storage::store::{
LocalStateStore, LocalStateStoreTestExt, NewLocalOptions, PrefetchOptions, ReadOptions,
StateStoreRead, WriteOptions,
LocalStateStore, NewLocalOptions, PrefetchOptions, ReadOptions, StateStoreRead, WriteOptions,
};
use risingwave_storage::StateStore;

Expand Down
4 changes: 1 addition & 3 deletions src/storage/hummock_test/src/sync_point_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ use risingwave_rpc_client::HummockMetaClient;
use risingwave_storage::hummock::compactor::compactor_runner::compact;
use risingwave_storage::hummock::compactor::CompactorContext;
use risingwave_storage::hummock::{CachePolicy, GetObjectId, SstableObjectIdManager};
use risingwave_storage::store::{
LocalStateStore, LocalStateStoreTestExt, NewLocalOptions, ReadOptions,
};
use risingwave_storage::store::{LocalStateStore, NewLocalOptions, ReadOptions};
use risingwave_storage::StateStore;
use serial_test::serial;

Expand Down
5 changes: 2 additions & 3 deletions src/tests/compaction_test/src/delete_range_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ use risingwave_common::catalog::TableId;
use risingwave_common::config::{extract_storage_memory_config, load_config, NoOverride, RwConfig};
use risingwave_hummock_sdk::compaction_group::StaticCompactionGroupId;
use risingwave_hummock_test::get_notification_client_for_test;
use risingwave_hummock_test::local_state_store_test_utils::LocalStateStoreTestExt;
use risingwave_meta::hummock::compaction::compaction_config::CompactionConfigBuilder;
use risingwave_meta::hummock::test_utils::setup_compute_env_with_config;
use risingwave_meta::hummock::MockHummockMetaClient;
Expand All @@ -53,9 +54,7 @@ use risingwave_storage::hummock::{
};
use risingwave_storage::monitor::{CompactorMetrics, HummockStateStoreMetrics};
use risingwave_storage::opts::StorageOpts;
use risingwave_storage::store::{
LocalStateStore, LocalStateStoreTestExt, NewLocalOptions, PrefetchOptions, ReadOptions,
};
use risingwave_storage::store::{LocalStateStore, NewLocalOptions, PrefetchOptions, ReadOptions};
use risingwave_storage::StateStore;

use crate::CompactionTestOpts;
Expand Down

0 comments on commit 3c03296

Please sign in to comment.