This commit is contained in:
parent
943fcaf970
commit
f822bb732c
|
@ -208,7 +208,7 @@ public class AppendProcessorTests extends ESTestCase {
|
|||
.collect(Collectors.toSet());
|
||||
|
||||
// create a set using the new values making sure there are no overlapping values already present in the existing values
|
||||
Set<String> nonexistingValues = Sets.difference(newValues, new HashSet<>(existingValues));
|
||||
Set<String> nonexistingValues = Sets.difference(newValues, new HashSet<>(list));
|
||||
List<String> valuesToAppend = new ArrayList<>(existingValues);
|
||||
valuesToAppend.addAll(nonexistingValues);
|
||||
expectedValues.addAll(nonexistingValues);
|
||||
|
|
Loading…
Reference in New Issue