@@ -20,13 +20,15 @@ public struct PollingConfirmationConfigurationTrait: TestTrait, SuiteTrait {
2020 public var stopCondition : PollingStopCondition
2121
2222 /// How long to continue polling for. If nil, this will fall back to the next
23- /// inner-most `PollingUntilStopsPassingConfigurationTrait.duration` value.
23+ /// inner-most `PollingConfirmationConfigurationTrait.duration` value for this
24+ /// stop condition.
2425 /// If no non-nil values are found, then it will use 1 second.
2526 public var duration : Duration ?
2627
2728 /// The minimum amount of time to wait between polling attempts. If nil, this
28- /// will fall back to earlier `PollingUntilStopsPassingConfigurationTrait.interval`
29- /// values. If no non-nil values are found, then it will use 1 millisecond.
29+ /// will fall back to earlier `PollingConfirmationConfigurationTrait.interval`
30+ /// values for this stop condition. If no non-nil values are found, then it
31+ /// will use 1 millisecond.
3032 public var interval : Duration ?
3133
3234 public var isRecursive : Bool { true }
@@ -53,7 +55,7 @@ extension Trait where Self == PollingConfirmationConfigurationTrait {
5355 /// This value may not correspond to the wall-clock time that polling
5456 /// lasts for, especially on highly-loaded systems with a lot of tests
5557 /// running.
56- /// if nil, polling will be attempted for approximately 1 second.
58+ /// If nil, polling will be attempted for approximately 1 second.
5759 /// `duration` must be greater than 0.
5860 /// - interval: The minimum amount of time to wait between polling
5961 /// attempts.
0 commit comments