Azure / autorest.java

Extension for AutoRest (https://github.com/Azure/autorest) that generates Java code
MIT License
33 stars 82 forks source link

Generate long-running operation tests with overridden poll interval in PLAYBACK #2602

Closed alzimmermsft closed 4 months ago

alzimmermsft commented 7 months ago

Generated tests that validate long-running operations should hook into the TestBase helper methods that will override the poll interval to a much smaller interval during PLAYBACK, speeding up test runs.

weidongxu-microsoft commented 7 months ago

I can assign this to Xiaofei, if you'd like.

Wrap the poller via TestBase.setPlaybackSyncPollerPollInterval https://github.com/Azure/azure-sdk-for-java/wiki/TypeSpec-Java-Quickstart#recordplayback-tests