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