@Override
    public void run() {
        // top-level command, do nothing
    }
@Test
    public void test_submit_server_cli_version_minor_mismatch() {
        String serverVersion = "5.0.0";
        System.setProperty(HAZELCAST_INTERNAL_OVERRIDE_VERSION, serverVersion);

        Config cfg = smallInstanceConfig();
        cfg.getJetConfig().setResourceUploadEnabled(true);
        String clusterName = randomName();
        cfg.setClusterName(clusterName);
        hz = createHazelcastInstance(cfg);

        System.setProperty(HAZELCAST_INTERNAL_OVERRIDE_VERSION, "5.1.0");
        ClientConfig clientConfig = new ClientConfig();
        clientConfig.setClusterName(clusterName);
        client = createHazelcastClient(clientConfig);

        BuildInfo buildInfo = BuildInfoProvider.getBuildInfo();
        String clientVersion = buildInfo.getVersion();

        assertThatThrownBy(() -> run("submit", testJobJarFile.toString()))
                .hasStackTraceContaining("Server and client must have matching minor version. Server version "
                        + serverVersion + ", hz-cli version " + clientVersion);

        assertTrueEventually(() -> assertThat(hz.getJet().getJobs()).isEmpty());

        assertTrueEventually(() -> assertContains(captureErr(),
                "ERROR: Server and client must have matching minor version. Server version "
                        + serverVersion + ", hz-cli version " + clientVersion)
        );
    }