Remove the pollInterval loop from SignalingServer.pollOffer in the standalone proxy

Closes #40210.
This commit is contained in:
Neel Chauhan 2024-10-13 21:37:48 -04:00 committed by Cecylia Bocovich
parent a7855d506c
commit f4305180b9
No known key found for this signature in database
GPG key ID: 009DE379FD9B7B90
2 changed files with 27 additions and 38 deletions

View file

@ -364,7 +364,7 @@ func TestBrokerInteractions(t *testing.T) {
b,
}
sdp, _ := broker.pollOffer(sampleOffer, DefaultProxyType, "", DefaultPollInterval, nil)
sdp, _ := broker.pollOffer(sampleOffer, DefaultProxyType, "")
expectedSDP, _ := strconv.Unquote(sampleSDP)
So(sdp.SDP, ShouldResemble, expectedSDP)
})
@ -378,7 +378,7 @@ func TestBrokerInteractions(t *testing.T) {
b,
}
sdp, _ := broker.pollOffer(sampleOffer, DefaultProxyType, "", DefaultPollInterval, nil)
sdp, _ := broker.pollOffer(sampleOffer, DefaultProxyType, "")
So(sdp, ShouldBeNil)
})
Convey("sends answer to broker", func() {