We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82930e5 commit 504389aCopy full SHA for 504389a
1 file changed
test/runtests_routeguide.jl
@@ -48,11 +48,14 @@ end
48
49
function test_generate()
50
@testset "codegen" begin
51
- dir = joinpath(@__DIR__, "RouteguideClients")
52
- gRPCClient.generate(joinpath(dir, "route_guide.proto"); outdir=dir)
53
- @test isfile(joinpath(dir, "route_guide_pb.jl"))
54
- @test isfile(joinpath(dir, "routeguide.jl"))
55
- @test isfile(joinpath(dir, "RouteguideClients.jl"))
+ # dir = joinpath(@__DIR__, "RouteguideClients")
+ # generate into tempdir to avoid writing inside depot folder
+ mktempdir() do dir
+ gRPCClient.generate(joinpath(dir, "route_guide.proto"); outdir=dir)
+ @test isfile(joinpath(dir, "route_guide_pb.jl"))
56
+ @test isfile(joinpath(dir, "routeguide.jl"))
57
+ @test isfile(joinpath(dir, "RouteguideClients.jl"))
58
+ end
59
end
60
61
0 commit comments