Class org.syncany.tests.integration.operations.NotificationListenerTest

1

tests

0

failures

0

ignored

1.809s

duration

100%

successful

Tests

Test Duration Result
testNotificationListener 1.809s passed

Standard error

18-11-18 14:31:57.531 | NotificationLis | Test worker    | INFO : Starting notification listener thread ...
18-11-18 14:31:57.532 | NotificationLis | Test worker    | INFO : Starting notification listener thread ...
18-11-18 14:31:57.532 | NotificationLis | NotifyThread   | INFO : Connecting socket to notify.syncany.org:8080 ...
18-11-18 14:31:57.532 | NotificationLis | Test worker    | INFO : Subscribing to channel org.syncany.tests.integration.operations.NotificationListenerTest-691374858...
18-11-18 14:31:57.533 | NotificationLis | Test worker    | INFO : Sending failed or no connection, queuing message: subscribe org.syncany.tests.integration.operations.NotificationListenerTest-691374858
18-11-18 14:31:57.533 | NotificationLis | Test worker    | INFO : Subscribing to channel org.syncany.tests.integration.operations.NotificationListenerTest-691374858...
18-11-18 14:31:57.533 | NotificationLis | NotifyThread   | INFO : Connecting socket to notify.syncany.org:8080 ...
18-11-18 14:31:57.533 | NotificationLis | Test worker    | INFO : Sending failed or no connection, queuing message: subscribe org.syncany.tests.integration.operations.NotificationListenerTest-691374858
18-11-18 14:31:57.655 | NotificationLis | NotifyThread   | INFO : Processing queued outgoing messages ...
18-11-18 14:31:57.655 | NotificationLis | NotifyThread   | INFO : Processing queued outgoing messages ...
18-11-18 14:31:57.655 | NotificationLis | NotifyThread   | INFO : - Sent queued message subscribe org.syncany.tests.integration.operations.NotificationListenerTest-691374858

18-11-18 14:31:57.655 | NotificationLis | NotifyThread   | INFO : Waiting for incoming message (10000 ms) ...
18-11-18 14:31:57.656 | NotificationLis | NotifyThread   | INFO : - Sent queued message subscribe org.syncany.tests.integration.operations.NotificationListenerTest-691374858

18-11-18 14:31:57.656 | NotificationLis | NotifyThread   | INFO : Waiting for incoming message (10000 ms) ...
18-11-18 14:31:57.766 | NotificationLis | NotifyThread   | INFO : Waiting for incoming message (10000 ms) ...
18-11-18 14:31:57.766 | NotificationLis | NotifyThread   | INFO : Waiting for incoming message (10000 ms) ...
18-11-18 14:31:59.033 | NotificationLis | Test worker    | INFO : Announcing to channel org.syncany.tests.integration.operations.NotificationListenerTest-691374858: Message from 1
18-11-18 14:31:59.034 | NotificationLis | Test worker    | INFO : Sent message: announce org.syncany.tests.integration.operations.NotificationListenerTest-691374858 Message from 1
18-11-18 14:31:59.034 | NotificationLis | Test worker    | INFO : Announcing to channel org.syncany.tests.integration.operations.NotificationListenerTest-691374858: Message from 2
18-11-18 14:31:59.034 | NotificationLis | Test worker    | INFO : Sent message: announce org.syncany.tests.integration.operations.NotificationListenerTest-691374858 Message from 2
18-11-18 14:31:59.147 | NotificationLis | NotifyThread   | INFO : Received message for channel org.syncany.tests.integration.operations.NotificationListenerTest-691374858: Message from 1
18-11-18 14:31:59.147 | NotificationLis | NotifyThread   | INFO : Received message for channel org.syncany.tests.integration.operations.NotificationListenerTest-691374858: Message from 1
18-11-18 14:31:59.147 | org.syncany.tes | NotifyThread   | INFO : Client 1: pushNotificationReceived(channel = org.syncany.tests.integration.operations.NotificationListenerTest-691374858, message = Message from 1)
18-11-18 14:31:59.148 | NotificationLis | NotifyThread   | INFO : Waiting for incoming message (10000 ms) ...
18-11-18 14:31:59.147 | org.syncany.tes | NotifyThread   | INFO : Client 2: pushNotificationReceived(channel = org.syncany.tests.integration.operations.NotificationListenerTest-691374858, message = Message from 1)
18-11-18 14:31:59.148 | NotificationLis | NotifyThread   | INFO : Waiting for incoming message (10000 ms) ...
18-11-18 14:31:59.260 | NotificationLis | NotifyThread   | INFO : Received message for channel org.syncany.tests.integration.operations.NotificationListenerTest-691374858: Message from 2
18-11-18 14:31:59.261 | org.syncany.tes | NotifyThread   | INFO : Client 1: pushNotificationReceived(channel = org.syncany.tests.integration.operations.NotificationListenerTest-691374858, message = Message from 2)
18-11-18 14:31:59.261 | NotificationLis | NotifyThread   | INFO : Waiting for incoming message (10000 ms) ...
18-11-18 14:31:59.261 | NotificationLis | NotifyThread   | INFO : Received message for channel org.syncany.tests.integration.operations.NotificationListenerTest-691374858: Message from 2
18-11-18 14:31:59.261 | org.syncany.tes | NotifyThread   | INFO : Client 2: pushNotificationReceived(channel = org.syncany.tests.integration.operations.NotificationListenerTest-691374858, message = Message from 2)
18-11-18 14:31:59.261 | NotificationLis | NotifyThread   | INFO : Waiting for incoming message (10000 ms) ...
18-11-18 14:31:59.334 | NotificationLis | Test worker    | INFO : Stopping notification listener thread ...
18-11-18 14:31:59.335 | NotificationLis | Test worker    | INFO : Stopping notification listener thread ...
18-11-18 14:31:59.335 | NotificationLis | NotifyThread   | INFO : Notification connection down: Socket closed, sleeping 5000ms, then trying a re-connect ...
18-11-18 14:31:59.335 | NotificationLis | NotifyThread   | INFO : Notification listener interrupted.
java.lang.InterruptedException: sleep interrupted
	at java.lang.Thread.sleep(Native Method)
	at org.syncany.operations.watch.NotificationListener$SocketThread.run(NotificationListener.java:255)
18-11-18 14:31:59.335 | NotificationLis | NotifyThread   | INFO : STOPPED notification listener!