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

Add Integration Test for Recovering From Disconnect #23

Open
1 task done
ShiromMakkad opened this issue Nov 9, 2023 · 0 comments
Open
1 task done

Add Integration Test for Recovering From Disconnect #23

ShiromMakkad opened this issue Nov 9, 2023 · 0 comments

Comments

@ShiromMakkad
Copy link
Contributor

ShiromMakkad commented Nov 9, 2023

Describe the feature you would like to request

This is for an integration test to ensure that the agent will recover if it's disconnected from AVP. This will be done by invalidating the credentials, waiting for the agent to fail, and then refreshing the credentials and checking to see if it's updated. It should be the following flow:

Step 1: Refresh credentials
Step 2: Start the server and seed the cache
Step 3: Test the server to make sure the auth decisions reflect AVP
Step 4: Delete the local credentials
Step 5: Change an AVP policy that was being used to test
Step 6: Refresh the credentials
Step 7: Check to make sure the changes in AVP are reflected in the local authorizer

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant