We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4150a99 commit 7721b2dCopy full SHA for 7721b2d
coderd/workspaceagents_test.go
@@ -892,10 +892,7 @@ func TestWorkspaceAgentReportStats(t *testing.T) {
892
agentClient.SetSessionToken(r.AgentToken)
893
894
_, err := agentClient.PostStats(context.Background(), &agentsdk.Stats{
895
- ConnectionsByProto: map[string]int64{"TCP": 1},
896
- // Set connection count to 1 but all session counts to zero to
897
- // assert we aren't updating last_used_at for a connections that may
898
- // be spawned passively by the dashboard.
+ ConnectionsByProto: map[string]int64{"TCP": 1},
899
ConnectionCount: 1,
900
RxPackets: 1,
901
RxBytes: 1,
0 commit comments