Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
TFS
controller
Commits
63dcda14
Commit
63dcda14
authored
4 years ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Bug resolution in integration tester
parent
b46b27fd
No related branches found
No related tags found
1 merge request
!54
Release 2.0.0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/integration_tester/.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
src/integration_tester/.gitlab-ci.yml
src/integration_tester/test_context_device.py
+2
-2
2 additions, 2 deletions
src/integration_tester/test_context_device.py
with
4 additions
and
2 deletions
src/integration_tester/.gitlab-ci.yml
+
2
−
0
View file @
63dcda14
...
...
@@ -55,6 +55,8 @@ integration_test integration_tester:
script
:
-
kubectl version
-
kubectl get all
-
kubectl --namespace=gitlab-ci delete pod integration-tester --wait=true --ignore-not-found=false
-
kubectl get all
# --rm to remove tester when it finishes
-
kubectl run $(echo $IMAGE_NAME | sed -r 's/[^a-zA-Z0-9\.\-]/-/g') --image "$CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG" --restart=Never -i --tty
-
kubectl get all
...
...
This diff is collapsed.
Click to expand it.
src/integration_tester/test_context_device.py
+
2
−
2
View file @
63dcda14
import
logging
,
os
,
pytest
from
google.protobuf.json_format
import
MessageToDict
from
src.common.tests.Assertions
import
validate_device_id
,
validate_link_id
,
validate_topology_has_devices
,
\
validate_topology_has_links
,
validate_topology_is_empty
from
common.database.Factory
import
get_database
,
DatabaseEngineEnum
from
common.database.api.Database
import
Database
from
common.tests.Assertions
import
validate_device_id
,
validate_link_id
,
validate_topology_has_devices
,
\
validate_topology_has_links
,
validate_topology_is_empty
from
context.client.ContextClient
import
ContextClient
from
context.proto.context_pb2
import
Device
,
Empty
,
Link
from
device.client.DeviceClient
import
DeviceClient
...
...
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