Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Nov 15, 2024
1 parent 611e58f commit a6f183a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tests/WebSocketTests/AutobahnTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import WSCompression
import XCTest

final class AutobahnTests: XCTestCase {
/// To run all the autobahn tests takes a long time. By default we only run a selection.
/// To run all the autobahn compression tests takes a long time. By default we only run a selection.
/// The `AUTOBAHN_ALL_TESTS` environment flag triggers running all of them.
var runAllTests: Bool { ProcessInfo.processInfo.environment["AUTOBAHN_ALL_TESTS"] == "true" }
var autobahnServer: String { ProcessInfo.processInfo.environment["FUZZING_SERVER"] ?? "localhost" }
Expand Down Expand Up @@ -50,6 +50,7 @@ final class AutobahnTests: XCTestCase {
return try result.withLockedValue { try XCTUnwrap($0) }
}

/// Run a number of autobahn tests
func autobahnTests(
cases: Set<Int>,
extensions: [WebSocketExtensionFactory] = [.perMessageDeflate(maxDecompressedFrameSize: 16_777_216)]
Expand Down

0 comments on commit a6f183a

Please sign in to comment.