public static void checkBetaIps(String betaIps) throws NacosException {
        if (StringUtils.isBlank(betaIps)) {
            throw new NacosException(NacosException.CLIENT_INVALID_PARAM, BETAIPS_INVALID_MSG);
        }
        String[] ipsArr = betaIps.split(",");
        for (String ip : ipsArr) {
            if (!InternetAddressUtil.isIP(ip)) {
                throw new NacosException(NacosException.CLIENT_INVALID_PARAM, BETAIPS_INVALID_MSG);
            }
        }
    }
@Test
    void testCheckBetaIpsFail2() throws NacosException {
        Throwable exception = assertThrows(NacosException.class, () -> {
            ParamUtils.checkBetaIps("aaa");
        });
        assertTrue(exception.getMessage().contains("betaIps invalid"));
    }