Skip to content

Commit 51ede7e

Browse files
ianballouevgeni
authored andcommitted
Start rhsmcertd after sub-man register
1 parent dd77abd commit 51ede7e

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

bats/fb-katello-client-global-registration.bats

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ load fixtures/content
4747

4848
registration_command=$(echo "${registration_json}" | ruby -e "require 'json'; puts JSON.load(ARGF.read).fetch('registration_command')")
4949
eval "${registration_command}"
50+
# Remove after subscription-manager 1.29.46 is released
51+
systemctl start rhsmcertd
5052
tSubscribedProductOrSCA "${PRODUCT}"
5153
}
5254

bats/fb-katello-client-katello-agent.bats

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ setup() {
3636
tPackageInstall http://localhost/pub/katello-ca-consumer-latest.noarch.rpm
3737
echo "rc=${status}"
3838
echo "${output}"
39+
# Remove after subscription-manager 1.29.46 is released
40+
systemctl start rhsmcertd
3941
subscription-manager register --force --org="${ORGANIZATION_LABEL}" --username=admin --password=changeme --env=Library
4042
}
4143

bats/fb-katello-client-rex.bats

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ load fixtures/content
3030
tPackageInstall http://localhost/pub/katello-ca-consumer-latest.noarch.rpm
3131
echo "rc=${status}"
3232
echo "${output}"
33+
# Remove after subscription-manager 1.29.46 is released
34+
systemctl start rhsmcertd
3335
subscription-manager register --force --org="${ORGANIZATION_LABEL}" --username=admin --password=changeme --env=Library
3436
}
3537

0 commit comments

Comments
 (0)