Skip to content

Commit

Permalink
Update CLT
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Alekseev committed Mar 10, 2021
1 parent 6ccbd3e commit fd274ad
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"repositoryURL": "https://github.com/avito-tech/CommandLineToolkit.git",
"state": {
"branch": null,
"revision": "90e0bfa7749c3bd7614f2a5584a427a651c9ea5a",
"revision": "ecc14634fdca2eea60f4dcda98c82c2d36da96c5",
"version": null
}
},
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
.library(name: "EmceeInterfaces", targets: ["BuildArtifacts", "DeveloperDirModels", "EmceeVersion", "PluginSupport", "QueueModels", "ResourceLocation", "ResourceLocationResolver", "RunnerModels", "SimulatorPoolModels", "SimulatorVideoRecorder", "TestArgFile", "TestDiscovery", "TestsWorkingDirectorySupport", "TypedResourceLocation", "WorkerAlivenessModels", "WorkerCapabilitiesModels"]),
],
dependencies: [
.package(name: "CommandLineToolkit", url: "https://github.com/avito-tech/CommandLineToolkit.git", .revision("90e0bfa7749c3bd7614f2a5584a427a651c9ea5a")),
.package(name: "CommandLineToolkit", url: "https://github.com/avito-tech/CommandLineToolkit.git", .revision("ecc14634fdca2eea60f4dcda98c82c2d36da96c5")),
.package(name: "CountedSet", url: "https://github.com/0x7fs/CountedSet", .branch("master")),
.package(name: "OrderedSet", url: "https://github.com/Weebly/OrderedSet", .exact("5.0.0")),
.package(name: "Shout", url: "https://github.com/jakeheis/Shout.git", .exact("0.5.4")),
Expand Down
5 changes: 4 additions & 1 deletion Sources/Runner/Runner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,10 @@ public final class Runner {
).startExecutingTests()
}
testRunnerRunningInvocationContainer.set(runningInvocation)

defer {
// since we refer this in closures, we must clean up to ensure no retain cycles will occur
testRunnerRunningInvocationContainer.set(nil)
}
try streamClosedCallback.wait(timeout: .infinity, description: "Test Runner Stream Close")

let result = Runner.prepareResults(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"CommandLineToolkit": {
"url": "https://github.com/avito-tech/CommandLineToolkit.git",
"version": {
"revision": "90e0bfa7749c3bd7614f2a5584a427a651c9ea5a"
"revision": "ecc14634fdca2eea60f4dcda98c82c2d36da96c5"
},
"targetNames": [
"AtomicModels",
Expand Down

0 comments on commit fd274ad

Please sign in to comment.