节点在线、应用在线、配置在线使用令牌查询
大石头 authored at 2021-12-16 19:49:30
389.00 B
Stardust
using Stardust;
using Xunit;

namespace ClientTest.Clients;

public class LocalStarClientTests
{
    [Fact]
    public void Info()
    {
        var client = new LocalStarClient();
        var inf = client.GetInfo();

        // CI 无本机 StarAgent 时 GetInfo 返回空,跳过本地探测相关断言
        if (inf == null) return;
        Assert.NotEmpty(inf.Server!);
    }
}