public void deleteShardGroup(List<Long> groupIds) {
        prepare();
        try {
            client.deleteShardGroup(serviceId, groupIds, true);
        } catch (StarClientException e) {
            LOG.warn("Failed to delete shard group. error: {}", e.getMessage());
        }
    }
@Test
    public void testDeleteShardGroup() throws StarClientException, DdlException {
        new Expectations() {
            {
                client.deleteShardGroup("1", (List<Long>) any, true);
                minTimes = 0;
                result = null;
            }
        };

        Deencapsulation.setField(starosAgent, "serviceId", "1");

        // test delete shard group
        ExceptionChecker.expectThrowsNoException(() -> starosAgent.deleteShardGroup(Lists.newArrayList(1L, 2L)));
    }