Home
last modified time | relevance | path

Searched refs:serverStats (Results 1 – 3 of 3) sorted by relevance

/external/opencensus-java/api/src/test/java/io/opencensus/common/
DServerStatsTest.java35 ServerStats serverStats = null; in serverStatsCreate() local
37 serverStats = ServerStats.create(31, 22, (byte) 0); in serverStatsCreate()
38 assertThat(serverStats.getLbLatencyNs()).isEqualTo(31); in serverStatsCreate()
39 assertThat(serverStats.getServiceLatencyNs()).isEqualTo(22); in serverStatsCreate()
40 assertThat(serverStats.getTraceOption()).isEqualTo((byte) 0); in serverStatsCreate()
42 serverStats = ServerStats.create(1000011L, 900022L, (byte) 1); in serverStatsCreate()
43 assertThat(serverStats.getLbLatencyNs()).isEqualTo(1000011L); in serverStatsCreate()
44 assertThat(serverStats.getServiceLatencyNs()).isEqualTo(900022L); in serverStatsCreate()
45 assertThat(serverStats.getTraceOption()).isEqualTo((byte) 1); in serverStatsCreate()
47 serverStats = ServerStats.create(0, 22, (byte) 0); in serverStatsCreate()
[all …]
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzTestHelper.java122 ServerStats serverStats = new ServerStats( field in ChannelzTestHelper.TestServer
132 ret.set(serverStats); in getStats()
DChannelzProtoUtilTest.java540 server.serverStats = toBuilder(server.serverStats) in toServer()
553 server.serverStats = toBuilder(server.serverStats) in toServer()
568 assertEquals(serverData, ChannelzProtoUtil.toServerData(server.serverStats)); in toServerData()