@@ -36,21 +36,21 @@ public function createWithoutSchemeShouldCreateResolverWithSelectiveUdpAndTcpExe
3636
3737 $ ref = new \ReflectionProperty ($ coopExecutor , 'executor ' );
3838 $ ref ->setAccessible (true );
39- $ selectiveExecutor = $ ref ->getValue ($ coopExecutor );
39+ $ retryExecutor = $ ref ->getValue ($ coopExecutor );
40+
41+ $ this ->assertInstanceOf ('React\Dns\Query\RetryExecutor ' , $ retryExecutor );
42+
43+ $ ref = new \ReflectionProperty ($ retryExecutor , 'executor ' );
44+ $ ref ->setAccessible (true );
45+ $ selectiveExecutor = $ ref ->getValue ($ retryExecutor );
4046
4147 $ this ->assertInstanceOf ('React\Dns\Query\SelectiveTransportExecutor ' , $ selectiveExecutor );
4248
4349 // udp below:
4450
4551 $ ref = new \ReflectionProperty ($ selectiveExecutor , 'datagramExecutor ' );
4652 $ ref ->setAccessible (true );
47- $ retryExecutor = $ ref ->getValue ($ selectiveExecutor );
48-
49- $ this ->assertInstanceOf ('React\Dns\Query\RetryExecutor ' , $ retryExecutor );
50-
51- $ ref = new \ReflectionProperty ($ retryExecutor , 'executor ' );
52- $ ref ->setAccessible (true );
53- $ timeoutExecutor = $ ref ->getValue ($ retryExecutor );
53+ $ timeoutExecutor = $ ref ->getValue ($ selectiveExecutor );
5454
5555 $ this ->assertInstanceOf ('React\Dns\Query\TimeoutExecutor ' , $ timeoutExecutor );
5656
@@ -124,7 +124,13 @@ public function createWithTcpSchemeShouldCreateResolverWithTcpExecutorStack()
124124
125125 $ ref = new \ReflectionProperty ($ coopExecutor , 'executor ' );
126126 $ ref ->setAccessible (true );
127- $ timeoutExecutor = $ ref ->getValue ($ coopExecutor );
127+ $ retryExecutor = $ ref ->getValue ($ coopExecutor );
128+
129+ $ this ->assertInstanceOf ('React\Dns\Query\RetryExecutor ' , $ retryExecutor );
130+
131+ $ ref = new \ReflectionProperty ($ retryExecutor , 'executor ' );
132+ $ ref ->setAccessible (true );
133+ $ timeoutExecutor = $ ref ->getValue ($ retryExecutor );
128134
129135 $ this ->assertInstanceOf ('React\Dns\Query\TimeoutExecutor ' , $ timeoutExecutor );
130136
@@ -154,7 +160,13 @@ public function createWithConfigWithTcpNameserverSchemeShouldCreateResolverWithT
154160
155161 $ ref = new \ReflectionProperty ($ coopExecutor , 'executor ' );
156162 $ ref ->setAccessible (true );
157- $ timeoutExecutor = $ ref ->getValue ($ coopExecutor );
163+ $ retryExecutor = $ ref ->getValue ($ coopExecutor );
164+
165+ $ this ->assertInstanceOf ('React\Dns\Query\RetryExecutor ' , $ retryExecutor );
166+
167+ $ ref = new \ReflectionProperty ($ retryExecutor , 'executor ' );
168+ $ ref ->setAccessible (true );
169+ $ timeoutExecutor = $ ref ->getValue ($ retryExecutor );
158170
159171 $ this ->assertInstanceOf ('React\Dns\Query\TimeoutExecutor ' , $ timeoutExecutor );
160172
0 commit comments