|
|
@@ -57,8 +57,6 @@ func TestMain(m *testing.M) {
|
|
|
}
|
|
|
defer os.RemoveAll(testDataDirName)
|
|
|
|
|
|
- os.Remove(filepath.Join(testDataDirName, DATA_STORE_FILENAME))
|
|
|
-
|
|
|
SetEmitDiagnosticNotices(true)
|
|
|
|
|
|
initDisruptor()
|
|
|
@@ -431,6 +429,23 @@ func TestFrontedMeekFragmentor(t *testing.T) {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+func TestQUIC(t *testing.T) {
|
|
|
+ controllerRun(t,
|
|
|
+ &controllerRunConfig{
|
|
|
+ expectNoServerEntries: false,
|
|
|
+ protocol: protocol.TUNNEL_PROTOCOL_QUIC_OBFUSCATED_SSH,
|
|
|
+ clientIsLatestVersion: false,
|
|
|
+ disableUntunneledUpgrade: true,
|
|
|
+ disableEstablishing: false,
|
|
|
+ disableApi: false,
|
|
|
+ tunnelPoolSize: 1,
|
|
|
+ useUpstreamProxy: false,
|
|
|
+ disruptNetwork: false,
|
|
|
+ transformHostNames: false,
|
|
|
+ useFragmentor: false,
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
type controllerRunConfig struct {
|
|
|
expectNoServerEntries bool
|
|
|
protocol string
|