Skip to content

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
@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