mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Remove the pollInterval loop from SignalingServer.pollOffer in the standalone proxy
Closes #40210.
This commit is contained in:
parent
a7855d506c
commit
f4305180b9
2 changed files with 27 additions and 38 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue