Skip to content

Commit

Permalink
Disable flaky allocation test (#286)
Browse files Browse the repository at this point in the history
* Disable flaky allocation test

* Add comment

* Disable fail fast in downstream tests
  • Loading branch information
jishnub authored Apr 2, 2024
1 parent 1bb6f22 commit 1c4ea1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: ${{ matrix.package.group }}/${{ matrix.package.repo }}/${{ matrix.julia-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
fail-fast: false
matrix:
julia-version: ['1']
os: [ubuntu-latest]
Expand Down
11 changes: 6 additions & 5 deletions test/multests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1055,11 +1055,12 @@ end
@test @allocated(copyto!(c,Applied(V))) 200
copyto!(c, V)

if v"1.9-" < VERSION < v"1.10-"
@test_broken @allocated(copyto!(c, V)) 500
else
@test @allocated(copyto!(c, V)) 500
end
# This test fails intermittently on GitHub Actions
# if v"1.9-" < VERSION < v"1.10-"
# @test_broken @allocated(copyto!(c, V)) ≤ 500
# else
# @test @allocated(copyto!(c, V)) ≤ 500
# end

@test all(c .=== apply(*, arguments(V)...))

Expand Down

0 comments on commit 1c4ea1e

Please sign in to comment.