public static List<String> loadAndModifyConfiguration(String[] args) throws FlinkException {
        return ConfigurationParserUtils.loadAndModifyConfiguration(
                filterCmdArgs(args, ModifiableClusterConfigurationParserFactory.options()),
                BashJavaUtils.class.getSimpleName());
    }
@TestTemplate
    void testloadAndModifyConfigurationWithFlatten() throws Exception {
        String[] args = {"-c", confDir.toFile().getAbsolutePath(), "-flatten"};
        List<String> list = FlinkConfigLoader.loadAndModifyConfiguration(args);
        assertThat(list).containsExactly(TEST_CONFIG_KEY + ": " + TEST_CONFIG_VALUE);
    }