Skip to content

Commit 156f464

Browse files
committed
revert docs added to test types
1 parent 06dc401 commit 156f464

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

Tests/TracingTests/TestTracer.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ final class TestTracer: LegacyTracer {
4343
return span
4444
}
4545

46-
/// Export all ended spans to the configured backend that have not yet been exported.
47-
///
48-
/// This function should only be called in cases where it is absolutely necessary,
49-
/// such as when using some FaaS providers that may suspend the process after an invocation, but before the backend exports the completed spans.
50-
///
51-
/// This function should not block indefinitely, implementations should offer a configurable timeout for flush operations.
5246
public func forceFlush() {}
5347

5448
func extract<Carrier, Extract>(_ carrier: Carrier, into context: inout ServiceContext, using extractor: Extract)

Tests/TracingTests/TracedLockTests.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,6 @@ private final class TracedLockPrintlnTracer: LegacyTracer {
7878
)
7979
}
8080

81-
/// Export all ended spans to the configured backend that have not yet been exported.
82-
///
83-
/// This function should only be called in cases where it is absolutely necessary,
84-
/// such as when using some FaaS providers that may suspend the process after an invocation, but before the backend exports the completed spans.
85-
///
86-
/// This function should not block indefinitely, implementations should offer a configurable timeout for flush operations.
8781
public func forceFlush() {}
8882

8983
func inject<Carrier, Inject>(

0 commit comments

Comments
 (0)