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

fix: registry test_case #197

Merged
merged 1 commit into from
May 22, 2023
Merged

fix: registry test_case #197

merged 1 commit into from
May 22, 2023

Conversation

s0nicboOm
Copy link
Contributor

@s0nicboOm s0nicboOm commented May 22, 2023

Test cases for is_model_stale had freeze time set to fixed date.
Now, when redis is fetching data that is older than 10 days (cause ttl is set to 10 days), it automatically deletes this key and hence we were seeing ModelKeyNotFound error.

Signed-off-by: s0nicboOm <i.kushalbatra@gmail.com>
@s0nicboOm s0nicboOm self-assigned this May 22, 2023
@s0nicboOm s0nicboOm linked an issue May 22, 2023 that may be closed by this pull request
@s0nicboOm s0nicboOm marked this pull request as ready for review May 22, 2023 18:42
@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Merging #197 (3ace968) into main (efa1df7) will increase coverage by 0.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #197      +/-   ##
==========================================
+ Coverage   96.62%   96.82%   +0.19%     
==========================================
  Files          36       36              
  Lines        1541     1541              
  Branches      119      119              
==========================================
+ Hits         1489     1492       +3     
+ Misses         36       34       -2     
+ Partials       16       15       -1     

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ab93 ab93 merged commit 3193159 into numaproj:main May 22, 2023
ab93 pushed a commit that referenced this pull request Jun 2, 2023
Test cases for `is_model_stale` had freeze time set to fixed date. 
Now, when redis is fetching data that is older than 10 days (cause ttl
is set to 10 days), it automatically deletes this key and hence we were
seeing ModelKeyNotFound error.

Signed-off-by: s0nicboOm <i.kushalbatra@gmail.com>
ab93 pushed a commit that referenced this pull request Jun 2, 2023
Test cases for `is_model_stale` had freeze time set to fixed date. 
Now, when redis is fetching data that is older than 10 days (cause ttl
is set to 10 days), it automatically deletes this key and hence we were
seeing ModelKeyNotFound error.

Signed-off-by: s0nicboOm <i.kushalbatra@gmail.com>
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

Successfully merging this pull request may close these issues.

Fix tests for redis registry
2 participants