OpenSearch/core
Boaz Leskes c2baa5f213 TransportService should capture listener before spawning background notification task
Not doing this made it difficult to establish a happens before relationship between connecting to a node and adding a listeners. Causing test code like this to fail sproadically:

```
        // connection to reuse
        handleA.transportService.connectToNode(handleB.node);

        // install a listener to check that no new connections are made
        handleA.transportService.addConnectionListener(new TransportConnectionListener() {
            @Override
            public void onConnectionOpened(DiscoveryNode node) {
                fail("should not open any connections. got [" + node + "]");
            }
        });

```

relates to #22277
2016-12-23 13:55:12 +01:00
..
licenses Add version 5.0.3 2016-11-29 18:34:55 -05:00
src TransportService should capture listener before spawning background notification task 2016-12-23 13:55:12 +01:00
build.gradle Update Joda Time to version 2.9.5 (#21468) 2016-11-10 17:32:46 +01:00