Skip to content

Commit 9a4c83f

Browse files
committed
tests: Disable logging after logging tests
1 parent a26505f commit 9a4c83f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/logging.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ import Colors, GraphViz, DataFrames, Plots
169169
if VERSION >= v"1.9-"
170170
@testset "show_plan/render_plan built-in" begin
171171
Dagger.enable_logging!()
172+
172173
A = distribute(rand(4, 4), Blocks(8, 8))
173174
sum(A)
174175
logs = Dagger.fetch_logs!()
@@ -178,6 +179,8 @@ import Colors, GraphViz, DataFrames, Plots
178179

179180
# PlotsExt
180181
@test Dagger.render_logs(logs, :plots_gantt) !== nothing
182+
183+
Dagger.disable_logging!()
181184
end
182185
end
183186
end

0 commit comments

Comments
 (0)