addTime method Null safety

  1. @Deprecated('This method has no effect. ' 'This feature was deprecated after v2.6.0-1.0.pre.')
void addTime(
  1. Duration duration
)
@Deprecated('This method has no effect. ' 'This feature was deprecated after v2.6.0-1.0.pre.')

This method has no effect.

This method was previously used to change the timeout of the test. However, in practice having short timeouts was found to be nothing but trouble, primarily being a cause flakes rather than helping debug tests.

For this reason, this method has been deprecated.

Implementation

@Deprecated(
  'This method has no effect. '
  'This feature was deprecated after v2.6.0-1.0.pre.'
)
void addTime(Duration duration) { }