Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow 404 on blob deletion in conformance tests #541

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions conformance/01_pull_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ var test01Pull = func() {
BeNumerically(">=", 200),
BeNumerically("<", 300),
),
Equal(http.StatusNotFound),
Equal(http.StatusMethodNotAllowed),
))
})
Expand All @@ -312,6 +313,7 @@ var test01Pull = func() {
BeNumerically(">=", 200),
BeNumerically("<", 300),
),
Equal(http.StatusNotFound),
Equal(http.StatusMethodNotAllowed),
))
})
Expand All @@ -327,6 +329,7 @@ var test01Pull = func() {
BeNumerically(">=", 200),
BeNumerically("<", 300),
),
Equal(http.StatusNotFound),
Equal(http.StatusMethodNotAllowed),
))
})
Expand Down
3 changes: 2 additions & 1 deletion conformance/02_push_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ var test02Push = func() {
BeNumerically(">=", 200),
BeNumerically("<", 300),
),
Equal(http.StatusMethodNotAllowed),
Equal(http.StatusNotFound),
Equal(http.StatusMethodNotAllowed),
))
})

Expand All @@ -436,6 +436,7 @@ var test02Push = func() {
BeNumerically(">=", 200),
BeNumerically("<", 300),
),
Equal(http.StatusNotFound),
Equal(http.StatusMethodNotAllowed),
))
})
Expand Down
6 changes: 4 additions & 2 deletions conformance/03_discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ var test03ContentDiscovery = func() {
BeNumerically(">=", 200),
BeNumerically("<", 300),
),
Equal(http.StatusMethodNotAllowed),
Equal(http.StatusNotFound),
Equal(http.StatusMethodNotAllowed),
))
}
})
Expand All @@ -423,6 +423,7 @@ var test03ContentDiscovery = func() {
BeNumerically(">=", 200),
BeNumerically("<", 300),
),
Equal(http.StatusNotFound),
Equal(http.StatusMethodNotAllowed),
))
})
Expand All @@ -438,6 +439,7 @@ var test03ContentDiscovery = func() {
BeNumerically(">=", 200),
BeNumerically("<", 300),
),
Equal(http.StatusNotFound),
Equal(http.StatusMethodNotAllowed),
))
})
Expand Down Expand Up @@ -484,8 +486,8 @@ var test03ContentDiscovery = func() {
BeNumerically(">=", 200),
BeNumerically("<", 300),
),
Equal(http.StatusMethodNotAllowed),
Equal(http.StatusNotFound),
Equal(http.StatusMethodNotAllowed),
))
}

Expand Down
Loading