parent
c54cdaab75
commit
0f581e74e3
|
@ -851,9 +851,11 @@ public class RandomTests extends BaseNd4jTest {
|
|||
threads[x].start();
|
||||
}
|
||||
|
||||
for (int x = 0; x < threads.length; x++) {
|
||||
// we want all threads finished before comparing arrays
|
||||
for (int x = 0; x < threads.length; x++)
|
||||
threads[x].join();
|
||||
|
||||
for (int x = 0; x < threads.length; x++) {
|
||||
assertNotEquals(null, list.get(x));
|
||||
|
||||
if (x > 0) {
|
||||
|
|
Loading…
Reference in New Issue