1
0
Эх сурвалжийг харах

lib/config, lib/model: Temporarily disable bad tests (ref #3834, #3843)

Jakob Borg 8 жил өмнө
parent
commit
0a118d2979

+ 2 - 0
lib/config/commit_test.go

@@ -42,6 +42,8 @@ func (validationError) String() string {
 }
 }
 
 
 func TestReplaceCommit(t *testing.T) {
 func TestReplaceCommit(t *testing.T) {
+	t.Skip("broken, fails randomly, #3834")
+
 	w := Wrap("/dev/null", Configuration{Version: 0})
 	w := Wrap("/dev/null", Configuration{Version: 0})
 	if w.RawCopy().Version != 0 {
 	if w.RawCopy().Version != 0 {
 		t.Fatal("Config incorrect")
 		t.Fatal("Config incorrect")

+ 2 - 0
lib/model/model_test.go

@@ -2199,6 +2199,8 @@ func TestIssue3829(t *testing.T) {
 }
 }
 
 
 func TestNoRequestsFromPausedDevices(t *testing.T) {
 func TestNoRequestsFromPausedDevices(t *testing.T) {
+	t.Skip("broken, fails randomly, #3843")
+
 	dbi := db.OpenMemory()
 	dbi := db.OpenMemory()
 
 
 	fcfg := config.NewFolderConfiguration("default", "testdata")
 	fcfg := config.NewFolderConfiguration("default", "testdata")