Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
backoffice_server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
LLLE_Project
backoffice_server
Commits
9f4c1480
Commit
9f4c1480
authored
2 years ago
by
Rémi PAILHAREY
Browse files
Options
Downloads
Patches
Plain Diff
fix(tests): await longer for meilisearch
parent
eb9434c0
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!73
Deploy Openshift v2
,
!65
MEP: removed Meilisearch
Pipeline
#52229
failed
2 years ago
Stage: quality
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
internal/rootmux/rootmux_test.go
+1
-1
1 addition, 1 deletion
internal/rootmux/rootmux_test.go
with
1 addition
and
1 deletion
internal/rootmux/rootmux_test.go
+
1
−
1
View file @
9f4c1480
...
@@ -252,7 +252,7 @@ func sgeTests(t *testing.T) {
...
@@ -252,7 +252,7 @@ func sgeTests(t *testing.T) {
// Try to create a consent (must pass)
// Try to create a consent (must pass)
do
(
"POST"
,
"/api/sge/consent"
,
sgeApiHeader
,
consentStr
,
http
.
StatusCreated
,
`{"ID":1`
)
do
(
"POST"
,
"/api/sge/consent"
,
sgeApiHeader
,
consentStr
,
http
.
StatusCreated
,
`{"ID":1`
)
// Wait for new documents to be indexed
// Wait for new documents to be indexed
time
.
Sleep
(
3
*
time
.
Second
)
time
.
Sleep
(
10
*
time
.
Second
)
// Try to update a consent (must pass)
// Try to update a consent (must pass)
do
(
"PUT"
,
"/api/sge/consent/1"
,
sgeApiHeader
,
`{"serviceId":123456}`
,
http
.
StatusOK
,
`{"ID":1`
)
do
(
"PUT"
,
"/api/sge/consent/1"
,
sgeApiHeader
,
`{"serviceId":123456}`
,
http
.
StatusOK
,
`{"ID":1`
)
// Try to get a consent that doesn't exist (must fail not found)
// Try to get a consent that doesn't exist (must fail not found)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment