Skip to content

Commit

Permalink
Added -f flag to force load expired license.
Browse files Browse the repository at this point in the history
Signed-off-by: sreepuramsudheer <ssudheer@progress.com>
  • Loading branch information
sreepuramsudheer committed Oct 25, 2024
1 parent 3e9deca commit e482853
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion oc-chef-pedant/spec/api/server_license_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
# context "failure case", automate: true do
context "when not having valid license" do
before(:all) do
system("chef-automate license apply \"$A2_EXPIRED_LICENSE\"")
puts "applying expired license"
puts ENV['A2_EXPIRED_LICENSE']
system("chef-automate license apply -f \"$A2_EXPIRED_LICENSE\"")
system("sleep 30")
end
after(:all) do
Expand Down

0 comments on commit e482853

Please sign in to comment.