aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/queue/queue_channel_test.go4
-rw-r--r--modules/queue/unique_queue_disk_channel_test.go4
2 files changed, 8 insertions, 0 deletions
diff --git a/modules/queue/queue_channel_test.go b/modules/queue/queue_channel_test.go
index 9b92398bac..f9dae742e2 100644
--- a/modules/queue/queue_channel_test.go
+++ b/modules/queue/queue_channel_test.go
@@ -4,6 +4,7 @@
package queue
import (
+ "os"
"sync"
"testing"
"time"
@@ -101,6 +102,9 @@ func TestChannelQueue_Batch(t *testing.T) {
}
func TestChannelQueue_Pause(t *testing.T) {
+ if os.Getenv("CI") != "" {
+ t.Skip("Skipping because test is flaky on CI")
+ }
lock := sync.Mutex{}
var queue Queue
var err error
diff --git a/modules/queue/unique_queue_disk_channel_test.go b/modules/queue/unique_queue_disk_channel_test.go
index fd76163f4a..7417d74c0b 100644
--- a/modules/queue/unique_queue_disk_channel_test.go
+++ b/modules/queue/unique_queue_disk_channel_test.go
@@ -5,6 +5,7 @@ package queue
import (
"fmt"
+ "os"
"strconv"
"sync"
"testing"
@@ -16,6 +17,9 @@ import (
)
func TestPersistableChannelUniqueQueue(t *testing.T) {
+ if os.Getenv("CI") != "" {
+ t.Skip("Skipping because test is flaky on CI")
+ }
tmpDir := t.TempDir()
fmt.Printf("TempDir %s\n", tmpDir)
_ = log.NewLogger(1000, "console", "console", `{"level":"warn","stacktracelevel":"NONE","stderr":true}`)