Skip to content

Commit

Permalink
unit_test
Browse files Browse the repository at this point in the history
  • Loading branch information
Smityz committed Oct 14, 2020
1 parent a0b01fe commit af7117b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/server/test/capacity_unit_calculator_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,11 @@ class capacity_unit_calculator_test : public pegasus_server_test_base
std::unique_ptr<mock_capacity_unit_calculator> _cal;

public:
dsn::blob key, hash_key, sort_key;

dsn::blob key;
capacity_unit_calculator_test() : pegasus_server_test_base()
{
_cal = dsn::make_unique<mock_capacity_unit_calculator>(_server.get());
hash_key = dsn::blob::create_from_bytes("h");
sort_key = dsn::blob();
pegasus_generate_key(key, hash_key, sort_key);
pegasus_generate_key(key, dsn::blob::create_from_bytes("h"), dsn::blob());
}

void test_init()
Expand Down

0 comments on commit af7117b

Please sign in to comment.