From 916132d6b4cbb0180df446888b75fa0b103208e0 Mon Sep 17 00:00:00 2001 From: Volodymyr Babak Date: Wed, 10 Dec 2025 10:07:16 +0200 Subject: [PATCH] Test naming conventions --- .../thingsboard/server/edge/EdgeStatsIntegrationTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/src/test/java/org/thingsboard/server/edge/EdgeStatsIntegrationTest.java b/application/src/test/java/org/thingsboard/server/edge/EdgeStatsIntegrationTest.java index 2789b0d7b8..71722ad2a8 100644 --- a/application/src/test/java/org/thingsboard/server/edge/EdgeStatsIntegrationTest.java +++ b/application/src/test/java/org/thingsboard/server/edge/EdgeStatsIntegrationTest.java @@ -65,9 +65,9 @@ public class EdgeStatsIntegrationTest extends AbstractEdgeTest { private EdgeStatsCounterService statsCounterService; @Test - public void testFullEdgeStatsCycle() throws Exception { + public void testReportStats() throws Exception { // GIVEN - prepareTestData(); + simulateEdgeEventsAddedDownlinkPushed(); // Await Edge Counters Updated await().atMost(10, TimeUnit.SECONDS).pollInterval(Duration.ofMillis(200)).untilAsserted(() -> { @@ -104,7 +104,7 @@ public class EdgeStatsIntegrationTest extends AbstractEdgeTest { Arrays.stream(EdgeStatsKey.values()).map(EdgeStatsKey::getKey).toList()).get(); } - private void prepareTestData() throws InterruptedException, ExecutionException { + private void simulateEdgeEventsAddedDownlinkPushed() throws InterruptedException, ExecutionException { statsCounterService.clear(edge.getId()); // Save device and assign to edge