/******************************************************************************
- * Copyright (c) 2016 Ericsson
+ * Copyright (c) 2016, 2017 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
}
private static void checkTraceType(SWTBotTreeItem traceItem, String traceType) {
- //FIXME: getTraceProperty() sometimes fails in WaitUtils.waitForJobs due to TmfEventsCache Fetching Events job never completing
- //assertEquals(traceType, getTraceProperty(traceItem, "type"));
+ assertEquals(traceType, getTraceProperty(traceItem, "type"));
}
private static void checkTraceLinked(SWTBotTreeItem traceItem, boolean linked) {
- //FIXME: getTraceProperty() sometimes fails in WaitUtils.waitForJobs due to TmfEventsCache Fetching Events job never completing
- //assertEquals(Boolean.toString(linked), getTraceProperty(traceItem, "linked"));
+ assertEquals(Boolean.toString(linked), getTraceProperty(traceItem, "linked"));
}
private static String getTraceProperty(SWTBotTreeItem traceItem, String property) {
/******************************************************************************
- * Copyright (c) 2016 Ericsson
+ * Copyright (c) 2016, 2017 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
ustGenerator.writeTrace(new File(importDir.getAbsolutePath() + File.separator + "simple_server-thread1"));
ustGenerator.writeTrace(new File(importDir.getAbsolutePath() + File.separator + "simple_server-thread2"));
- kernelGenerator = new LttngTraceGenerator(1000, 1001, 1);
- ustGenerator = new LttngTraceGenerator(1000, 1001, 1, false);
+ kernelGenerator = new LttngTraceGenerator(1001, 1001, 1);
+ ustGenerator = new LttngTraceGenerator(1001, 1001, 1, false);
kernelGenerator.writeTrace(new File(importDir.getAbsolutePath() + File.separator + CLASHES_DIR_NAME + File.separator + "kernel-overlap-testing"));
ustGenerator.writeTrace(new File(importDir.getAbsolutePath() + File.separator + CLASHES_DIR_NAME + File.separator + "ust-overlap-testing"));
ustGenerator.writeTrace(new File(importDir.getAbsolutePath() + File.separator + CLASHES_DIR_NAME + File.separator + "simple_server-thread1"));