Skip to content

Commit faf966e

Browse files
committed
Add comment re: async race condition in integration tests
1 parent fc84ffd commit faf966e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/integration/controller_test.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,21 @@ func TestBasicFlows(t *testing.T) {
9797
},
9898
},
9999
ProvisionReaction: &fakeosb.ProvisionReaction{
100+
// Async is temporarily disabled due to a race condition where
101+
// multiple goroutines can be working on the same instance at the
102+
// same time.
100103
Response: &osb.ProvisionResponse{
101104
Async: false,
102105
},
103106
},
107+
// Temporarily commented out because async is temporarily disabled.
108+
//
109+
// PollLastOperationReaction: &fakeosb.PollLastOperationReaction{
110+
// Response: &osb.LastOperationResponse{
111+
// State: osb.StateSucceeded,
112+
// Async: true,
113+
// },
114+
// },
104115
BindReaction: &fakeosb.BindReaction{
105116
Response: &osb.BindResponse{
106117
Credentials: map[string]interface{}{

0 commit comments

Comments
 (0)