Public Member Functions | |
void | testReadViaRepo () throws Throwable |
Static Public Attributes | |
static final long | TIMEOUT = 5000 |
This test must be run after RFSTest and can be run only once correctly after running RFSTest.
This test tests reading of unusual objects which can't be written to a running repo via the current repo writing algorithms. The data needed for this test can only be created by something like RFSTest which creates and saves a repo file structure without a running repo by calling saveContent methods directly with different kinds of data.
It is normally desirable that tests such as this can be run repeatedly and achieve the same results. But since we can't write the data to be tested via the repo, and once we have read the data once, it may be cached by ccnd, a correct running of the test after the first time can't be guaranteed and is in fact unlikely with this test. Possibly this test should just be eliminated but since it is part of the historic repo test suite I am leaving it in for the time being.