HDFS-14677. TestDataNodeHotSwapVolumes#testAddVolumesConcurrently fails intermittently in trunk. Contributed by Chen Zhang.
This commit is contained in:
parent
88daa730a3
commit
8deced0073
@ -549,7 +549,8 @@ public void testAddVolumesConcurrently()
|
||||
dn.data = Mockito.spy(data);
|
||||
|
||||
final int newVolumeCount = 40;
|
||||
List<Thread> addVolumeDelayedThreads = new ArrayList<>();
|
||||
List<Thread> addVolumeDelayedThreads =
|
||||
Collections.synchronizedList(new ArrayList<>());
|
||||
AtomicBoolean addVolumeError = new AtomicBoolean(false);
|
||||
AtomicBoolean listStorageError = new AtomicBoolean(false);
|
||||
CountDownLatch addVolumeCompletionLatch =
|
||||
|
Loading…
Reference in New Issue
Block a user