Skip to content

Improve caching ttl tests #178

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

Merged

Conversation

tylerhutcherson
Copy link
Collaborator

Small improvement to the TTL tests for semantic cache. Based on feedback from an SA in the field.

@tylerhutcherson tylerhutcherson added the enhancement New feature or request label Jul 8, 2024
Copy link
Collaborator

@justin-cechmanek justin-cechmanek left a comment

Choose a reason for hiding this comment

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

Looks good, but the tests are failing

Copy link
Collaborator

@justin-cechmanek justin-cechmanek left a comment

Choose a reason for hiding this comment

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

test_ttl_expiration_after_update is still finding a match

@tylerhutcherson
Copy link
Collaborator Author

test_ttl_expiration_after_update is still finding a match

Figured out the issue. I wrote the test incorrectly because of the refresh after hit policy that's in place by default.

@tylerhutcherson tylerhutcherson force-pushed the feat/RAAE-171/improve-semantic-cache-ttl-tests branch from 803f03e to b417fd9 Compare July 9, 2024 15:17
@tylerhutcherson tylerhutcherson merged commit 042f7d8 into main Jul 9, 2024
20 checks passed
@tylerhutcherson tylerhutcherson deleted the feat/RAAE-171/improve-semantic-cache-ttl-tests branch July 9, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants