Commit b89b6610 authored by Hiro's avatar Hiro 🏄
Browse files

Fix typo in comment

parent 75d9997b
Pipeline #37960 passed with stage
in 1 minute and 33 seconds
......@@ -155,16 +155,14 @@ public class NodeDetailsStatusUpdaterTest {
}
dd = this.docStore.getDocument(DetailsStatus.class, FPB);
assertNotNull(dd);
String firstSeen = DateTimeHelper.format(
uptimeStatus.getBridgeHistory().first().getStartMillis());
assertEquals(firstSeen, DateTimeHelper.format(dd.getFirstSeenMillis()));
/*
* If the last_restarted field is less then the last_seen field then
* If the last_restarted field is less then the first_seen field then
* our fix should be applied and the first_seen field be equal to the Uptime
* status first value.
*/
String firstSeen = DateTimeHelper.format(
uptimeStatus.getBridgeHistory().first().getStartMillis());
assertEquals(firstSeen, DateTimeHelper.format(dd.getFirstSeenMillis()));
assertEquals((long)
uptimeStatus.getBridgeHistory().first().getStartMillis(),
(long) dd.getFirstSeenMillis());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment