SnapshotAndRestoreCommandTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total769 of 7690%30 of 300%41411871872626
setup()920%n/a11202011
testClientRequest_restoreInProgress()590%40%33141411
getParamsString(Map)560%40%33111111
takeSnapshotAndValidate(int, File)510%20%22101011
tearDown()490%80%55171711
createData(ZooKeeper, String, long)390%20%226611
sendSnapshotRequest(boolean, int)380%n/a116611
testSnapshotAndRestoreCommand_streaming()320%n/a11101011
validateResponseHeaders(HttpURLConnection)320%20%228811
sendRestoreRequest(int)290%n/a116611
validateSnapshotMetrics()290%20%225511
validateRestoreMetrics()290%20%225511
displayResponsePayload(HttpURLConnection)280%20%226611
testRestoreCommand_invalidSnapshotData()230%n/a116611
performRestoreAndValidate(int, File)210%n/a117711
lambda$testClientRequest_restoreInProgress$0(AtomicBoolean, CountDownLatch)190%n/a117711
testSnapshotCommand_disabled()180%n/a115511
testRestores()170%20%224411
testRestoreCommand_disabled()170%n/a115511
lambda$testClientRequest_restoreInProgress$1(File, AtomicBoolean, CountDownLatch)170%n/a117711
SnapshotAndRestoreCommandTest()160%n/a113311
testSnapshotCommand_nonStreaming()140%n/a115511
testSnapshotCommand_serializeLastZxidDisabled()140%n/a115511
testRestoreCommand_serializeLastZxidDisabled()130%n/a115511
buildQueryStringForSnapshotCommand(boolean)130%n/a113311
static {...}40%n/a111111