Repository navigation
Commit 54f8cf9
authored
### Rationale for this change
test_dlpack started failing for several jobs on CI due to our tests deallocating memory:
```
allocated_bytes = pa.total_allocated_bytes()
try:
return f(*args, **kwargs)
finally:
> assert pa.total_allocated_bytes() == allocated_bytes
E assert 3728 == 7440
```
### What changes are included in this PR?
Trigger a `gc.collect` before checking initial allocated bytes.
### Are these changes tested?
Yes via CI
### Are there any user-facing changes?
No
* GitHub Issue: #44728
Authored-by: Raúl Cumplido <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
1 parent 9015a81 commit 54f8cf9
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
| |||
0 commit comments