From 001cd3c7211b1bc167659852896269db0c721d45 Mon Sep 17 00:00:00 2001 From: Kelly Kostopoulou Date: Fri, 19 Jul 2024 05:44:00 +0000 Subject: [PATCH] fixed bug in writing repeated system events --- .../api/collectors/monitoring/DatabaseMonitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/oltpbenchmark/api/collectors/monitoring/DatabaseMonitor.java b/src/main/java/com/oltpbenchmark/api/collectors/monitoring/DatabaseMonitor.java index 3706d14c5..516ab79fd 100644 --- a/src/main/java/com/oltpbenchmark/api/collectors/monitoring/DatabaseMonitor.java +++ b/src/main/java/com/oltpbenchmark/api/collectors/monitoring/DatabaseMonitor.java @@ -172,7 +172,7 @@ protected void writeRepeatedSystemEventsToCSV() { event.getInstant().toString() + "," + StringUtil.join( - ",", this.repeatedSystemEvents.get(0).getPropertyValues().values())); + ",", event.getPropertyValues().values())); } out.close(); this.repeatedSystemEvents = new ArrayList<>();