fix(test): another attempt on flaky tests fixes
- cleanup DB calls for flaky tests
This commit is contained in:
parent
bf9cd8455f
commit
cafdf00501
4 changed files with 24 additions and 18 deletions
|
|
@ -2693,6 +2693,7 @@ class Repository(Base, BaseModel):
|
|||
|
||||
empty_date = datetime.datetime.fromtimestamp(0)
|
||||
repo_commit_count = 0
|
||||
repo_name = self.repo_name
|
||||
|
||||
if cs_cache is None:
|
||||
# use no-cache version here
|
||||
|
|
@ -2767,7 +2768,7 @@ class Repository(Base, BaseModel):
|
|||
|
||||
log.debug(
|
||||
"updated repo `%s` with new commit cache %s, and last update_date: %s",
|
||||
self.repo_name,
|
||||
repo_name,
|
||||
cs_cache,
|
||||
_date_latest,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue