Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8d419a9

Browse files
authoredSep 27, 2019
Merge pull request #51 from niveathika/master
Bump siddhi version
2 parents d6bed3b + b3d9e8f commit 8d419a9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

‎component/src/test/java/io/siddhi/extension/store/mongodb/InsertIntoMongoTableTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
package io.siddhi.extension.store.mongodb;
1919

2020
import io.siddhi.core.SiddhiAppRuntime;
21+
import io.siddhi.core.SiddhiAppRuntimeImpl;
2122
import io.siddhi.core.SiddhiManager;
2223
import io.siddhi.core.exception.SiddhiAppCreationException;
2324
import io.siddhi.core.stream.input.InputHandler;
@@ -291,11 +292,11 @@ public void insertIntoMongoTableTest9() throws InterruptedException {
291292
}
292293

293294
@Test
294-
public void insertIntoMongoTableTest10() {
295+
public void insertIntoMongoTableTest10() throws InterruptedException {
295296
log.info("insertIntoMongoTableTest10 - " +
296297
"DASC5-967:Unprivileged user attempts to insert events to a MongoDB table successfully");
297298

298-
Logger siddhiAppLogger = Logger.getLogger(SiddhiAppRuntime.class);
299+
Logger siddhiAppLogger = Logger.getLogger(SiddhiAppRuntimeImpl.class);
299300
UnitTestAppender appender = new UnitTestAppender();
300301
siddhiAppLogger.addAppender(appender);
301302

@@ -316,6 +317,7 @@ public void insertIntoMongoTableTest10() {
316317
"insert into FooTable;";
317318
SiddhiAppRuntime siddhiAppRuntime = siddhiManager.createSiddhiAppRuntime(streams + query);
318319
siddhiAppRuntime.start();
320+
Thread.sleep(5000);
319321

320322
if (appender.getMessages() != null) {
321323
AssertJUnit.assertTrue(appender.getMessages().contains("Error in retrieving collection names " +

‎pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</profiles>
4646

4747
<properties>
48-
<siddhi.version>5.0.0</siddhi.version>
48+
<siddhi.version>5.1.5</siddhi.version>
4949
<siddhi.version.range>[5.0.0,6.0.0)</siddhi.version.range>
5050
<junit.version>4.12</junit.version>
5151
<commons.logging.version>1.1.1</commons.logging.version>

0 commit comments

Comments
 (0)
Please sign in to comment.