소스 검색

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

Jakob Borg 9 년 전
부모
커밋
0a118d2979
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      lib/config/commit_test.go
  2. 2 0
      lib/model/model_test.go

+ 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")