Skip to content

Commit

Permalink
A
Browse files Browse the repository at this point in the history
  • Loading branch information
adanmauri committed Jul 3, 2023
1 parent 0ddc519 commit d67b69b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
tags:
- "*"

env:
REGISTRY: ghcr.io/${{ github.repository }}
BUILD_NUMBER: build-${{ github.run_number }}

jobs:
check_event:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion test/test_integration_files.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

file = open(DATA_FILENAME, "r")
body = HTTP.Form(Dict(:data => HTTP.Multipart(DATA_FILENAME, file, "text/csv")))
response = HTTP.post(url, [], body; connect_timeout = 40)
response = HTTP.post(url, [], body; connect_timeout = 60)
msg = String(response.body)
body = JSON.parse(msg)

Expand Down
10 changes: 5 additions & 5 deletions test/test_integration_jobs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
estimator = :ols
ModelSelectionGUI.add_job_file(filehash, tempfile, filename)
body = Dict(:estimator => estimator, :equation => equation, :ttest => ttest)
response = HTTP.post(url, ["Content-Type" => "application/json"], JSON.json(body); connect_timeout = 40)
response = HTTP.post(url, ["Content-Type" => "application/json"], JSON.json(body); connect_timeout = 60)
msg = String(response.body)
body = JSON.parse(msg)

Expand Down Expand Up @@ -108,7 +108,7 @@

push!(ModelSelectionGUI.jobs_finished, job)

response = HTTP.get(url; connect_timeout = 40)
response = HTTP.get(url; connect_timeout = 60)
body = String(response.body)
body = JSON.parse(body)

Expand Down Expand Up @@ -210,7 +210,7 @@

push!(ModelSelectionGUI.jobs_finished, job)

response = HTTP.get(url; connect_timeout = 40)
response = HTTP.get(url; connect_timeout = 60)

@test response.status == 200
@test Dict(response.headers)["Content-Type"] == ModelSelectionGUI.PLAIN_MIME
Expand Down Expand Up @@ -254,7 +254,7 @@

push!(ModelSelectionGUI.jobs_finished, job)

response = HTTP.get(url; connect_timeout = 40)
response = HTTP.get(url; connect_timeout = 60)

@test response.status == 200
@test Dict(response.headers)["Content-Type"] == ModelSelectionGUI.CSV_MIME
Expand Down Expand Up @@ -299,7 +299,7 @@

push!(ModelSelectionGUI.jobs_finished, job)

response = HTTP.get(url; connect_timeout = 40)
response = HTTP.get(url; connect_timeout = 60)

@test response.status == 200
@test Dict(response.headers)["Content-Type"] == ModelSelectionGUI.CSV_MIME
Expand Down
2 changes: 1 addition & 1 deletion test/test_integration_server.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

url = "http://$(ModelSelectionGUI.SERVER_HOST):$(ModelSelectionGUI.SERVER_PORT)/server-info"

response = HTTP.get(url; connect_timeout = 40)
response = HTTP.get(url; connect_timeout = 60)
msg = String(response.body)
body = JSON.parse(msg)

Expand Down

0 comments on commit d67b69b

Please sign in to comment.