Skip to content

Commit

Permalink
always select max heartbeat for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Jul 11, 2014
1 parent b91291f commit ededc06
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -969,7 +969,7 @@ public void testHeartbeat() throws Exception {
logTestRunning();
Level previous = setLoggingLevelForTest(Level.DEBUG);
try {
final String checkHeartbeatSql = "select heartbeat_time from sym_node_host where node_id='"
final String checkHeartbeatSql = "select max(heartbeat_time) from sym_node_host where node_id='"
+ TestConstants.TEST_CLIENT_EXTERNAL_ID + "'";
Date clientHeartbeatTimeBefore = getClient().getSqlTemplate().queryForObject(
checkHeartbeatSql, Timestamp.class);
Expand Down

0 comments on commit ededc06

Please sign in to comment.