                     scheduling: scheduler,
                     onError: { _ in testErrorDispatching() })
                 
-                let (_, error) = try wait(for: recorder.failure(), timeout: 0.3)
+                let (_, error) = try wait(for: recorder.failure(), timeout: timeout)
                 if let error = error as? Failure {
                     try testFailure(error, writer)
                 } else {

        throws
        where Reducer.Value: Equatable
    {
        func test(
            observation: ValueObservation<Reducer>,
            scheduling scheduler: ValueObservationScheduler,

                try writer.writeWithoutTransaction(recordedUpdates)
                
                let expectation = recorder.next(expectedValues.count)
                let values = try wait(for: expectation, timeout: timeout)
                XCTAssertEqual(
                    values, expectedValues,
                    "\(#function), \(writer), \(scheduler)", file: file, line: line)
