Skip to content

Remove some unused code and fix flaky test#18933

Merged
JoshLove-msft merged 1 commit intoAzure:masterfrom
JoshLove-msft:sb-cleanup
Feb 24, 2021
Merged

Remove some unused code and fix flaky test#18933
JoshLove-msft merged 1 commit intoAzure:masterfrom
JoshLove-msft:sb-cleanup

Conversation

@JoshLove-msft
Copy link
Member

The AMQP rule manager was not exposed and is not planned to be.

@ghost ghost added the Service Bus label Feb 23, 2021
@JoshLove-msft
Copy link
Member Author

/azp run net - servicebus - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

await Task.Delay(lockDuration.Add(TimeSpan.FromSeconds(10)));
// wait 3x lockduration since to avoid the case where
// lock is renewed at the very end of the lock duration delay
await Task.Delay(lockDuration.Add(lockDuration).Add(lockDuration));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to consider simplifying here:

await Task.Delay(lockDuration.Multiply(3));

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't available in net461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants