diff --git a/systemtest/tests/integration/extend-test-data.sh b/systemtest/tests/integration/extend-test-data.sh deleted file mode 100755 index 86cf4d411..000000000 --- a/systemtest/tests/integration/extend-test-data.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash - -# -# this script creates -# - two additional activation keys -# - two environments for organization -# -# Those data are used in integration tests -# - -# -# Two environments -# -USERNAME=admin -PASSWORD=admin -ORG=donaldduck - -curl -k --request POST --user ${USERNAME}:${PASSWORD} \ - --data '{"id": "env-id-01", "name": "env-name-01", "description": "Testing environment num. 1"}' \ - --header 'accept: application/json' \ - --header 'content-type: application/json' \ - https://localhost:8443/candlepin/owners/${ORG}/environments - -curl -k --request POST --user ${USERNAME}:${PASSWORD} \ - --data '{"id": "env-id-02", "name": "env-name-02", "description": "Testing environment num. 2"}' \ - --header 'accept: application/json' \ - --header 'content-type: application/json' \ - https://localhost:8443/candlepin/owners/${ORG}/environments - -# -# Two activation keys -# - -USERNAME=duey -PASSWORD=password -ORG=donaldduck - -curl -k --request POST --user ${USERNAME}:${PASSWORD} \ - --data '{"name":"act-key-01"}' \ - --header 'accept: application/json' \ - --header 'content-type: application/json' \ - https://localhost:8443/candlepin/owners/${ORG}/activation_keys - - -curl -k --request POST --user ${USERNAME}:${PASSWORD} \ - --data '{"name":"act-key-02"}' \ - --header 'accept: application/json' \ - --header 'content-type: application/json' \ - https://localhost:8443/candlepin/owners/${ORG}/activation_keys diff --git a/systemtest/tests/integration/test.sh b/systemtest/tests/integration/test.sh index 5a597f97f..7349616c4 100755 --- a/systemtest/tests/integration/test.sh +++ b/systemtest/tests/integration/test.sh @@ -45,6 +45,10 @@ EOF ./integration-tests/scripts/post-activation-keys.sh ./integration-tests/scripts/post-environments.sh +# There is a problem with SELinux in current version of selinux-roles (for rhsm.service) +# it is a temporary fix +setenforce 0 + # Run all integration tests. They will use 'testing' environment in configuration ENV_FOR_DYNACONF=testing pytest --junit-xml=./junit.xml -v integration-tests retval=$?