Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1517,6 +1517,23 @@ void testDynamicConfigs() throws Exception {
.build(),
true);

waitUntil(
() -> {
// First, verify that cluster configs have been updated
Collection<ConfigEntry> configEntries = admin.describeClusterConfigs().get();
Map<String, String> clusterConfigs =
configEntries.stream()
.collect(
Collectors.toMap(ConfigEntry::key, ConfigEntry::value));
return clusterConfigs.containsKey(DATALAKE_FORMAT.key())
&& PAIMON.toString().equals(clusterConfigs.get(DATALAKE_FORMAT.key()))
&& clusterConfigs.containsKey("datalake.paimon.warehouse")
&& "test-warehouse"
.equals(clusterConfigs.get("datalake.paimon.warehouse"));
},
Duration.ofMinutes(1),
"Cluster configs should be updated with datalake properties");

waitUntil(
() -> {
TableInfo tableInfo = admin.getTableInfo(tablePath).get();
Expand Down