Marking disque tests 'short', circleci container doesnt appear to support tcp?

This commit is contained in:
Cameron Sparr 2015-08-05 17:00:04 -06:00
parent 42a7203b1e
commit ab28707d71
1 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,10 @@ import (
) )
func TestDisqueGeneratesMetrics(t *testing.T) { func TestDisqueGeneratesMetrics(t *testing.T) {
if testing.Short() {
t.Skip("Skipping integration test in short mode")
}
l, err := net.Listen("tcp", ":0") l, err := net.Listen("tcp", ":0")
require.NoError(t, err) require.NoError(t, err)
@ -90,6 +94,10 @@ func TestDisqueGeneratesMetrics(t *testing.T) {
} }
func TestDisqueCanPullStatsFromMultipleServers(t *testing.T) { func TestDisqueCanPullStatsFromMultipleServers(t *testing.T) {
if testing.Short() {
t.Skip("Skipping integration test in short mode")
}
l, err := net.Listen("tcp", ":0") l, err := net.Listen("tcp", ":0")
require.NoError(t, err) require.NoError(t, err)