Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Test Proxy in azure-storage-queue #34494

Merged
merged 13 commits into from
Apr 20, 2023

Conversation

alzimmermsft
Copy link
Member

Description

Updates azure-storage-queue to use Test Proxy instead of the in-process PlaybackHttpClient. As part of this change azure-storage-queue was moved from using Groovy/Spock for testing to JUnit 5.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@alzimmermsft alzimmermsft added Storage Storage Service (Queues, Blobs, Files) Client This issue points to a problem in the data-plane of the library. test-enhancement labels Apr 17, 2023
@alzimmermsft alzimmermsft self-assigned this Apr 17, 2023
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@alzimmermsft alzimmermsft marked this pull request as ready for review April 17, 2023 20:42
@alzimmermsft
Copy link
Member Author

/azp run java - storage - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@alzimmermsft
Copy link
Member Author

/azp run java - storage - tests

1 similar comment
@alzimmermsft
Copy link
Member Author

/azp run java - storage - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

import static org.junit.jupiter.api.Assertions.assertTrue;

public class BuildHelperTests {
private static final ClientLogger LOGGER = new ClientLogger(BuilderHelper.class);
Copy link
Member

Choose a reason for hiding this comment

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

BuildHelperTests.class

@@ -0,0 +1,4 @@
{
Copy link
Member

Choose a reason for hiding this comment

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

Should these be marked @DoNotRecord?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm going to leave that for now as this is just a one-to-one port

@alzimmermsft alzimmermsft merged commit 4c03b2b into Azure:main Apr 20, 2023
@alzimmermsft alzimmermsft deleted the AzStorage_TestProxyInQueues branch April 20, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Storage Storage Service (Queues, Blobs, Files) test-enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants