Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CaosDB Julia Integration Tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
CaosDB Julia Integration Tests
Commits
89ed91df
Verified
Commit
89ed91df
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
Add GC.gc call to a retrieval test and update the pipeline
parent
24573642
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!7
Tests for caosdb-julialib!12 (release result set)
Pipeline
#13321
failed
3 years ago
Stage: info
Stage: code-style
Stage: setup
Stage: cert
Stage: test
Changes
2
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+4
-2
4 additions, 2 deletions
.gitlab-ci.yml
test/runtests.jl
+1
-0
1 addition, 0 deletions
test/runtests.jl
with
5 additions
and
2 deletions
.gitlab-ci.yml
+
4
−
2
View file @
89ed91df
...
...
@@ -43,7 +43,7 @@ variables:
# The defalt branch to use with caosdb-cpplib
# TODO: Change back to dev once f-consolidate-c has been merged
CPP_DEFAULT_BRANCH
:
dev
stages
:
-
info
-
code-style
...
...
@@ -65,6 +65,7 @@ info:
-
echo "CAOSDB_TAG = $CAOSDB_TAG"
-
echo "REFTAG = $REFTAG"
-
echo "F_BRANCH = $F_BRANCH"
-
echo "CPPLIB_REF = $CPPLIB_REF"
-
ls -lah /image-cache/
code-style
:
...
...
@@ -97,12 +98,13 @@ build-testenv: &build-testenv
timeout
:
2h
needs
:
[]
script
:
-
CPPLIB_REF=${CPPLIB_REF:-${CPP_DEFAULT_BRANCH}}
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
-
docker pull $JULIALIB_REGISTRY_IMAGE ||
true
-
docker build
--build-arg JULIALIB_REGISTRY_IMAGE=$JULIALIB_REGISTRY_IMAGE
--build-arg F_BRANCH=$F_BRANCH
--build-arg CPP_DEFAULT_BRANCH=$CPP
_DEFAULT_BRANCH
--build-arg CPP_DEFAULT_BRANCH=$CPP
LIB_REF
--file .docker/Dockerfile
--pull
--cache-from $JULIAINTTEST_REGISTRY_IMAGE
...
...
This diff is collapsed.
Click to expand it.
test/runtests.jl
+
1
−
0
View file @
89ed91df
...
...
@@ -126,6 +126,7 @@ end
# Helper functions
ent
=
retrieve
(
"20"
)
GC
.
gc
()
# assure that ent still has a valid wrapped pointer
@test
get_name
(
ent
)
==
"name"
results
=
retrieve
([
"20"
,
"21"
])
...
...
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