Class TestScannerHeartbeatMessages

java.lang.Object
org.apache.hadoop.hbase.regionserver.TestScannerHeartbeatMessages

Here we test to make sure that scans return the expected Results when the server is sending the Client heartbeat messages. Heartbeat messages are essentially keep-alive messages (they prevent the scanner on the client side from timing out). A heartbeat message is sent from the server to the client when the server has exceeded the time limit during the processing of the scan. When the time limit is reached, the server will return to the Client whatever Results it has accumulated (potentially empty).