Skip to content

Commit 6363251

Browse files
committed
chore: move check uptime in tests
1 parent 443b111 commit 6363251

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controller/rpc/rpc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ func TestGRPC_GetBackendStats(t *testing.T) {
133133
t.Fatalf("Failed to get backend stats: %v", err)
134134
}
135135
log.Println(backStats)
136-
log.Println("uptime:", backStats.GetUptime())
137136
}
138137

139138
func TestGRPC_GetOutboundsStats(t *testing.T) {
@@ -416,6 +415,7 @@ func TestGRPC_GetSystemStats(t *testing.T) {
416415
log.Println("cpu_cores:", nodeStats.GetCpuCores())
417416
log.Println("incoming_bandwidth:", nodeStats.GetIncomingBandwidthSpeed())
418417
log.Println("outgoing_bandwidth:", nodeStats.GetOutgoingBandwidthSpeed())
418+
log.Println("uptime:", nodeStats.GetUptime())
419419
}
420420

421421
func TestGRPC_KeepAliveTimeout(t *testing.T) {

0 commit comments

Comments
 (0)