Skip to content

Commit 7dac5b7

Browse files
committed
#23 increasing the connection wait time to address failures on travis
1 parent b685ae0 commit 7dac5b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gpclient/gpclient-ca/src/test/java/org/epics/gpclient/datasource/ca/CAChannelTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void createSimpleChannel() throws InterruptedException {
6767
PVEventRecorder recorder = probe.getRecorder();
6868
PVReader<VType> pv = gpClient.read("ca://test_double_0").addListener(recorder).start();
6969
recorder.wait(500, PVEventRecorder.forAConnectionEvent());
70-
recorder.wait(50, PVEventRecorder.anEventOfType(PVEvent.Type.VALUE));
70+
recorder.wait(100, PVEventRecorder.anEventOfType(PVEvent.Type.VALUE));
7171
pv.close();
7272
Thread.sleep(1000);
7373
}
@@ -79,7 +79,7 @@ public void createSimpleWriteChannel() throws InterruptedException {
7979
PVEventRecorder recorder = probe.getRecorder();
8080
PV<VType, Object> pv = gpClient.readAndWrite("ca://test_double_0").addListener(recorder).start();
8181
recorder.wait(500, PVEventRecorder.forAConnectionEvent());
82-
recorder.wait(50, PVEventRecorder.anEventOfType(PVEvent.Type.VALUE));
82+
recorder.wait(100, PVEventRecorder.anEventOfType(PVEvent.Type.VALUE));
8383
pv.write(VDouble.of(1.0, Alarm.none(), Time.now(), Display.none()));
8484
Thread.sleep(1000);
8585
pv.write(VDouble.of(2.0, Alarm.none(), Time.now(), Display.none()));

0 commit comments

Comments
 (0)