1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
This patch skips some timing tests that do not work well in
Debian build environments.
Forward: Not needed.
--- a/resource_pool_test.go
+++ b/resource_pool_test.go
@@ -45,6 +45,7 @@
}
func TestOpen(t *testing.T) {
+ t.Skip("Skipping in Debian builds.")
lastId.Set(0)
count.Set(0)
p := NewResourcePool(PoolFactory, 6, 6, time.Second)
@@ -222,6 +223,7 @@
}
func TestShrinking(t *testing.T) {
+ t.Skip("Skipping in Debian builds.")
lastId.Set(0)
count.Set(0)
p := NewResourcePool(PoolFactory, 5, 5, time.Second)
@@ -366,6 +368,7 @@
}
func TestClosing(t *testing.T) {
+ t.Skip("Skipping in Debian builds.")
lastId.Set(0)
count.Set(0)
p := NewResourcePool(PoolFactory, 5, 5, time.Second)
|