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

Automate Azure Functions testing #899

Closed
joshfree opened this issue Jan 3, 2020 · 6 comments
Closed

Automate Azure Functions testing #899

joshfree opened this issue Jan 3, 2020 · 6 comments
Assignees
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library.
Milestone

Comments

@joshfree
Copy link
Member

joshfree commented Jan 3, 2020

Tracking issue for step-by-step instructions for how to manually run e2e tests for Azure Functions hosted environments for each of the azure-sdk-for-* languages. This issue will be used by our Vendor team for manually running tests in this scenario, and will be tracked on the EngSys backlog for eventual automation.

Assigning to @schaabs who will create the initial instructions specific to .NET Azure SDKs. Other SDK languages will be appended to this issue as further comments.

@kurtzeborn
Copy link
Member

@schaabs, please loop in @danieljurek for these conversations. We think we don't need to run our entire test suite in all of these extra environments (govt. clouds, functions, canary, etc.) but it is interesting to run some of our tests... the set of tests that cover the differences in each environment.

One idea: we have a good, encapsulated, test in each language with our smoke tests. These could be what we run in each environment.

@kurtzeborn kurtzeborn added Client This issue points to a problem in the data-plane of the library. and removed EngSys This issue is impacting the engineering system. labels Jan 22, 2020
@joshfree
Copy link
Member Author

@schaabs can you please update this issue with instructions for the other languages to follow as a template?

@joshfree joshfree added this to the Backlog milestone Feb 10, 2020
@joshfree
Copy link
Member Author

Closing; will reevaluate for next semester

@sadasant
Copy link
Contributor

@KarishmaGhiya So, in summary, this issue is about:

  • Manually test Identity (DefaultAzureCredential and ManagedIdentityCredential) in Azure Functions.
  • Write clear instructions on how to create the resource, deploy some testing code, and run the testing code.
  • Put the code and instructions in tests/e2e/azure-functions.
    • There should be a README.md, sample code and a package json.

I wrote some instructions for Azure Arc a while ago. Those should work as a reference: #1908 (comment)

You can also look at what Python has done: https://github.com/mccoyp/azure-sdk-for-python/tree/master/sdk/identity/azure-identity/tests/managed-identity-live

Java has something more automated, but in case it helps: https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/e2e/src

Regarding how to make these resources:
Other languages have already made resources where to run these manual tests. Reach out to either McCoy Patiño, Catalina Peralta or Vinay Gera for more information.

@sadasant
Copy link
Contributor

Small update: we already have a folder, test/manual-integration. Let's use that one for now!

Copy link

Hi @joshfree, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 20, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library.
Projects
None yet
Development

No branches or pull requests

4 participants