forked from hyperledger/fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use tcp for statsd and poll for metric arrival
Have you heard the joke about UDP? Never mind. You probably won't get it. The integration tests seem to be flaking out while making assertions on statsd metrics. There are two likely causes: 1. We wait for some sentinel and assume that when it arrives, all of the metrics we're looking for are ready. That's not necessarily true. This change replaces the single sentinel with assertions that all metrics are eventually available. 2. Even on good days and over the loopback adapter, UDP datagrams may not get to the intended target. To take that out of the equation, we'll move to TCP. Signed-off-by: Matthew Sykes <[email protected]>
- Loading branch information
1 parent
83b29a3
commit 74dd4dc
Showing
4 changed files
with
105 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters