- 17 11月, 2014 1 次提交
-
-
由 Yueh-Hsuan Chiang 提交于
Use correct classloader in Java NativeLibraryLoader
-
- 16 11月, 2014 6 次提交
-
-
由 Yueh-Hsuan Chiang 提交于
Summary: Improve the comment in InfoLogLevelTest.java Test Plan: make rocksdbjava
-
由 Yueh-Hsuan Chiang 提交于
[RocksJava] LogLevel support in Options
-
由 Adam Retter 提交于
Native Library
-
由 Adam Retter 提交于
-
由 Igor Canadi 提交于
[RocksJava] Bump version to 3.8.0 in rocksjni.pom
-
由 fyrz 提交于
-
- 15 11月, 2014 33 次提交
-
-
由 Igor Canadi 提交于
-
由 Igor Canadi 提交于
-
由 Igor Canadi 提交于
-
由 Igor Canadi 提交于
-
由 fyrz 提交于
-
由 Igor Canadi 提交于
Summary: This way we can gurantee that old MemTables get destructed before DBImpl gets destructed, which might be useful if we want to make them depend on state from DBImpl. Test Plan: make check with asserts in JobContext's destructor Reviewers: ljin, sdong, yhchiang, rven, jonahcohen Reviewed By: jonahcohen Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D28959
-
由 fyrz 提交于
-
由 fyrz 提交于
It's now possible to set a LogLevel in Options and DBOptions to control LOG verbosity.
-
由 Igor Canadi 提交于
-
由 Igor Canadi 提交于
Cuckoo table options missing in the C interface
-
由 Yueh-Hsuan Chiang 提交于
[RocksJava] Test framework support
-
由 fyrz 提交于
-
由 fyrz 提交于
-
由 fyrz 提交于
-
由 fyrz 提交于
-
由 fyrz 提交于
-
由 fyrz 提交于
-
由 fyrz 提交于
-
由 fyrz 提交于
-
由 fyrz 提交于
+ 7% coverage + 3% branch coverage
-
由 fyrz 提交于
Summary: As we had the discussion some weeks ago. Java needs a test framework and should support code coverage analysis. This pull request includes: Move Tests from main method functionality to Junit4 Move WriteBatchTest to test package Adjust the Makefile to run Junit4 Download dependencies from Make (once if not-present) Adjustment of the rocksjni.pom to run coverage analysis using jacoco Javadoc excludes now tests Two bugfixes regarding GC cleanup which came up within the test runs Make can be used as beforehand to build and run RocksJava. make test runs tests using the command-line version of Junit4. Maven can be used to retrieve code coverage reports using mvn -f rocksjni.pom package. Code coverage reports can then be found as usual in the site folder. Testing libraries available within Java Junit4 (incl. hamcrest-core dependency) AssertJ (providing fluent syntax for assertions, cglib dependency) Mockito to provide mocktests Libraries as said before are not statically within this commit or filesystem instead they are downloaded using curl. Make checks if files are present, if so it will perform tests without downloading the libraries again. Note: Libraries are only necessary to compile & run tests. Next steps after merge: Get the maven build into travis-ci and coveralls.io Filling up the missing test spots (based on coverage data) Test Plan: make rocksdbjava make jtest Reviewers: yhchiang, ankgup87, adamretter Subscribers: dhruba Differential Revision: https://reviews.facebook.net/D28209
-
由 fyrz 提交于
-
由 fyrz 提交于
-
由 Igor Canadi 提交于
-
由 Venkatesh Radhakrishnan 提交于
Summary: Store links to live files in directory on same disk Test Plan: Take snapshot and open it. Added a test GetSnapshotLink in db_test. Reviewers: sdong Reviewed By: sdong Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D28713
-
由 Igor Canadi 提交于
Summary: This is just a simple test that passes two files though a compaction. It shows the framework so that people can continue building new compaction *unit* tests. In the future we might want to move some Compaction* tests from DBTest here. For example, CompactBetweenSnapshot seems a good candidate. Hopefully this test can be simpler when we mock out VersionSet. Test Plan: this is a test Reviewers: ljin, rven, yhchiang, sdong Reviewed By: sdong Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D28449
-
由 Lukáš Lalinský 提交于
-
由 Lukáš Lalinský 提交于
-
由 Yueh-Hsuan Chiang 提交于
-
由 Lukáš Lalinský 提交于
-
由 Siying Dong 提交于
Relax the block count check on deallocation in env_test
-
由 Igor Canadi 提交于
-
由 sdong 提交于
Summary: Make db_stress built for ROCKSDB_LITE. The test doesn't pass tough. It seg fault quickly. But I took a look and it doesn't seem to be related to lite version. Likely to be a bug inside RocksDB. Test Plan: make db_stress Reviewers: yhchiang, rven, ljin, igor Reviewed By: igor Subscribers: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D28797
-