Skip to content

Commit

Permalink
Bump version and increase retries.
Browse files Browse the repository at this point in the history
  • Loading branch information
schooler-hpe committed Jul 6, 2023
1 parent b462948 commit 130d78c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.22.0
1.23.0
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.23.0] - 2023-07-06

### Changed

- Added retries to destructive bootscript CT tests for hms-nightly-integration runs.

## [1.22.0] - 2022-11-01

### Changed

- CASMHMS-5796: Created disruptive and destructive Tavern API tests.
- Switch the CT tests to use the hms-simulation-environment.
- Updated Swagger file to reflect how BSS actually works.
Expand Down
14 changes: 7 additions & 7 deletions test/ct/api/3-destructive/test_bootscript.tavern.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MIT License
#
# (C) Copyright [2022] Hewlett Packard Enterprise Development LP
# (C) Copyright [2022-2023] Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -67,12 +67,12 @@ stages:

- name: Query bootscript by xname
# Sometimes BSS returns a bootscript to re-attempt getting a bootscript, and this normally
# happens when BSS is syncing with HSM.
# happens when BSS is syncing with HSM. Add retries to account for this.
# Example:
# #!ipxe
# sleep 10
# chain https://api-gw-service-nmn.local/apis/bss/boot/v1/bootscript?mac=00:40:a6:42:3a:58&retry=1
max_retries: 8
max_retries: 15
delay_after: 2
request:
url: "{bss_base_url}/boot/v1/bootscript"
Expand Down Expand Up @@ -120,12 +120,12 @@ stages:

- name: Query bootscript by MAC address
# Sometimes BSS returns a bootscript to re-attempt getting a bootscript, and this normally
# happens when BSS is syncing with HSM.
# happens when BSS is syncing with HSM. Add retries to account for this.
# Example:
# #!ipxe
# sleep 10
# chain https://api-gw-service-nmn.local/apis/bss/boot/v1/bootscript?mac=00:40:a6:42:3a:58&retry=1
max_retries: 8
max_retries: 15
delay_after: 2
request:
url: "{bss_base_url}/boot/v1/bootscript"
Expand All @@ -140,12 +140,12 @@ stages:

- name: Query bootscript by NID
# Sometimes BSS returns a bootscript to re-attempt getting a bootscript, and this normally
# happens when BSS is syncing with HSM.
# happens when BSS is syncing with HSM. Add retries to account for this.
# Example:
# #!ipxe
# sleep 10
# chain https://api-gw-service-nmn.local/apis/bss/boot/v1/bootscript?mac=00:40:a6:42:3a:58&retry=1
max_retries: 8
max_retries: 15
delay_after: 2
request:
url: "{bss_base_url}/boot/v1/bootscript"
Expand Down

0 comments on commit 130d78c

Please sign in to comment.