mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Fix proxy test
The broker is a global object.
This commit is contained in:
parent
ace8df37ed
commit
cbd863d6b1
1 changed files with 2 additions and 1 deletions
|
@ -336,7 +336,8 @@ func TestBrokerInteractions(t *testing.T) {
|
||||||
const sampleAnswer = `{"type":"answer","sdp":` + sampleSDP + `}`
|
const sampleAnswer = `{"type":"answer","sdp":` + sampleSDP + `}`
|
||||||
|
|
||||||
Convey("Proxy connections to broker", t, func() {
|
Convey("Proxy connections to broker", t, func() {
|
||||||
broker, err := newSignalingServer("localhost", false)
|
var err error
|
||||||
|
broker, err = newSignalingServer("localhost", false)
|
||||||
So(err, ShouldEqual, nil)
|
So(err, ShouldEqual, nil)
|
||||||
tokens = newTokens(0)
|
tokens = newTokens(0)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue