titan icon indicating copy to clipboard operation
titan copied to clipboard

titan_titan_db_test error

Open apple-ouyang opened this issue 2 years ago • 1 comments

The test version is the latested master(2ad9c586345b606718362351f5c88e3c8348c4f4) After cmake and compiling, run the:

ctest -R titan

the only test that not pass is the titan_titan_db_test. Here is the test output:

$ ./titan_titan_db_test --gtest_output=xml
[==========] Running 47 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 47 tests from TitanDBTest
[ RUN      ] TitanDBTest.Open
[       OK ] TitanDBTest.Open (151 ms)
[ RUN      ] TitanDBTest.Basic
[       OK ] TitanDBTest.Basic (1527 ms)
[ RUN      ] TitanDBTest.DictCompressOptions
/home/wht/titan/src/titan_db_test.cc:182: Failure
db_->Get(ropts, kv.first, &value)
NotFound: 
[  FAILED  ] TitanDBTest.DictCompressOptions (127 ms)
[ RUN      ] TitanDBTest.TableFactory
[       OK ] TitanDBTest.TableFactory (92 ms)
[ RUN      ] TitanDBTest.DbIter
[       OK ] TitanDBTest.DbIter (202 ms)
[ RUN      ] TitanDBTest.DBIterSeek
[       OK ] TitanDBTest.DBIterSeek (143 ms)
[ RUN      ] TitanDBTest.GetProperty
terminate called after throwing an instance of 'std::out_of_range'
  what():  map::at
[1]    1121 abort (core dumped)  ./titan_titan_db_test --gtest_output=xml

apple-ouyang avatar Mar 24 '22 08:03 apple-ouyang

please provide the backtrace which you can get it in the core dump

Connor1996 avatar Mar 24 '22 08:03 Connor1996

Close as lack of information

Connor1996 avatar Jan 31 '24 08:01 Connor1996