NIFI-10637 Deterministic TestGenerateTableFetch testMultipleColumnTypeMissing

This closes #6754

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
hj28 2022-12-04 09:31:00 -06:00 committed by exceptionfactory
parent b0ab364f61
commit ac8e3dae58
No known key found for this signature in database
GPG Key ID: 29B6A52D2AAE8DBA
1 changed files with 1 additions and 3 deletions

View File

@ -1467,9 +1467,7 @@ public class TestGenerateTableFetch {
// Remove one element from columnTypeMap to simulate it's re-cache partial state
Map.Entry<String, Integer> entry = processor.columnTypeMap.entrySet().iterator().next();
String key = entry.getKey();
processor.columnTypeMap.remove(key);
processor.columnTypeMap.remove("TEST_QUERY_DB_TABLE");
// Insert new records
stmt.execute("insert into TEST_QUERY_DB_TABLE (id, bucket) VALUES (2, 0)");