Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Give containerMetric test more time to remove outdate info
Browse files Browse the repository at this point in the history
Signed-off-by: John Tuley <jtuley@pivotal.io>
  • Loading branch information
mrosecrance authored and John Tuley committed Jan 30, 2015
1 parent f8b03bf commit 77bbef5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/doppler/sinks/containermetric/containermetric_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ var _ = Describe("Containermetric", func() {
})

It("removes the outdated container metrics", func() {
m1 := metricFor(1, time.Now().Add(-500*time.Millisecond), 1, 1, 1)
m1 := metricFor(1, time.Now().Add(-1500*time.Millisecond), 1, 1, 1)
eventChan <- m1

Eventually(sink.GetLatest).Should(ConsistOf(m1))
Expand Down
1 change: 0 additions & 1 deletion src/trafficcontroller/listener/websocket_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ loop:
return descriptiveError
}

println("----------", err.Error())
outputChan <- l.generateLogMessage("WebsocketListener.Start: Error connecting to a loggregator/doppler server", appId)
break loop
}
Expand Down

0 comments on commit 77bbef5

Please sign in to comment.