---
title: SKTestSession.TimeRate.oneRenewalEveryTwoSeconds
framework: storekittest
role: symbol
role_heading: Case
path: storekittest/sktestsession/timerate-swift.enum/onerenewaleverytwoseconds
---

# SKTestSession.TimeRate.oneRenewalEveryTwoSeconds

A rate of time in the test environment in which subscriptions of any time length renew every 2 seconds.

## Declaration

```swift
case oneRenewalEveryTwoSeconds
```

## Discussion

Discussion This time rate renews subscriptions every two seconds in the testing environment, regardless of actual renewal periods for each subscription. The sandbox environment does not support this subscription renewal rate. This time rate also affects the billing grace period and the billing retry period in the testing environment, as the table below shows:  |   |   |

## See Also

### Fixed time rates for subscription renewals

- [SKTestSession.TimeRate.oneRenewalEveryFifteenMinutes](storekittest/sktestsession/timerate-swift.enum/onerenewaleveryfifteenminutes.md)
- [SKTestSession.TimeRate.oneRenewalEveryFiveMinutes](storekittest/sktestsession/timerate-swift.enum/onerenewaleveryfiveminutes.md)
- [SKTestSession.TimeRate.oneRenewalEveryMinute](storekittest/sktestsession/timerate-swift.enum/onerenewaleveryminute.md)
- [SKTestSession.TimeRate.oneRenewalEveryThirtySeconds](storekittest/sktestsession/timerate-swift.enum/onerenewaleverythirtyseconds.md)
- [SKTestSession.TimeRate.oneRenewalEveryTenSeconds](storekittest/sktestsession/timerate-swift.enum/onerenewaleverytenseconds.md)
