Klov Not attaching to one Reporter?

We run tests via parallel in our testNG,
We attempt to connect to method that starts klov/extent reporter via
public void beforeSuite() {
synchronized (lock) {
if (!initialised) {
startResult();
initialised = true;
}
}
However, we still see Klov being attached to multiple views although they have same report # 3
Best
Basically you want all the parallel run results flushed to a single launch. Let say into launch #1167.. I am also looking for the same
Hi, I got it working similarly as in your code by keeping ExtentReports, ExtentKlovReporter & ExtentSparkReporter static:
private static ExtentReports extent = null;
private static ExtentKlovReporter klovReporter = null;
private static ExtentSparkReporter htmlReporter = null;
and initializing them only once when they are still null:
public synchronized static ExtentReports getReporter() { if (extent == null) extent = new ExtentReports(); return extent; }