Skip to content

Commit 3d4fd62

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 89995cb commit 3d4fd62

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

broker/test/holdings/holdings_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ func TestRequestRequestSruServerLoaned(t *testing.T) {
276276
func TestRequestRequestSruServerLoanedMultiple(t *testing.T) {
277277
shouldFailSruRequest.Store(false)
278278
loadResponse3.Store(true)
279+
t.Cleanup(func() {
280+
loadResponse3.Store(false)
281+
})
279282
appCtx := common.CreateExtCtxWithArgs(context.Background(), nil)
280283
reqId := "11deaad0-e492-4cc7-9527-6713466cc434"
281284
data, err := os.ReadFile("request-5.xml")

0 commit comments

Comments
 (0)