refactor code
This commit is contained in:
parent
971efd7ef4
commit
c7bb4eace6
|
@ -725,23 +725,40 @@ TEST_F(IndexEnv2, testIndexOpen) {
|
||||||
assert(taosArrayGetSize(result) == targetSize);
|
assert(taosArrayGetSize(result) == targetSize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TEST_F(IndexEnv2, testIndex_CachePut) {
|
|
||||||
|
TEST_F(IndexEnv2, testIndex_TrigeFlush) {
|
||||||
|
std::string path = "/tmp";
|
||||||
|
if (index->Init(path) != 0) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
TEST_F(IndexEnv2, testIndex_TrigeFlush) {
|
||||||
|
std::string path = "/tmp";
|
||||||
|
if (index->Init(path) != 0) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
TEST_(IndexEnv2, testIndex_serarch_cache_and_tfile) {
|
||||||
|
std::string path = "/tmp";
|
||||||
|
if (index->Init(path) != 0) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
TEST_(IndexEnv2, testIndex_multi_thread_write) {
|
||||||
|
std::string path = "/tmp";
|
||||||
|
if (index->Init(path) != 0) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
TEST_(IndexEnv2, testIndex_multi_thread_read) {
|
||||||
std::string path = "/tmp";
|
std::string path = "/tmp";
|
||||||
if (index->Init(path) != 0) {
|
if (index->Init(path) != 0) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_F(IndexEnv2, testIndexr_TFilePut) {
|
TEST_(IndexEnv2, testIndex_restart) {
|
||||||
std::string path = "/tmp";
|
std::string path = "/tmp";
|
||||||
if (index->Init(path) != 0) {
|
if (index->Init(path) != 0) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
TEST_F(IndexEnv2, testIndex_CacheSearch) {
|
|
||||||
std::string path = "/tmp";
|
TEST_F(IndexEnv2, testIndex_performance) {
|
||||||
if (index->Init(path) != 0) {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
TEST_F(IndexEnv2, testIndex_TFileSearch) {
|
|
||||||
std::string path = "/tmp";
|
std::string path = "/tmp";
|
||||||
if (index->Init(path) != 0) {
|
if (index->Init(path) != 0) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue