Skip to content

[Foxy backport] Validate QoS profile values are not negative. (#483)#490

Merged
Karsten1987 merged 1 commit intofoxyfrom
dabonnie/backport-483
Aug 5, 2020
Merged

[Foxy backport] Validate QoS profile values are not negative. (#483)#490
Karsten1987 merged 1 commit intofoxyfrom
dabonnie/backport-483

Conversation

@dabonnie
Copy link
Copy Markdown
Contributor

@dabonnie dabonnie commented Aug 5, 2020

Backport of #483

Signed-off-by: Jesse Ikawa jikawa@amazon.com

* add negative check to init py

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* add unit test

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* modify unit test

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* revert test_play

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* typo string to int

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* add history value to unit tests

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* add validation to duration keys

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* modify duration validation

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* fix syntax

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* modify duration validation

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* fix syntax

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* modify comparison

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* fix syntax

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* modify style

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>

* modify style

Signed-off-by: Jesse Ikawa <jikawa@amazon.com>
Signed-off-by: Devin Bonnie <dbbonnie@amazon.com>
@dabonnie dabonnie force-pushed the dabonnie/backport-483 branch from 35a59b1 to 7a32187 Compare August 5, 2020 18:19
@dabonnie dabonnie marked this pull request as ready for review August 5, 2020 18:19
@dabonnie
Copy link
Copy Markdown
Contributor Author

dabonnie commented Aug 5, 2020

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@Karsten1987
Copy link
Copy Markdown
Collaborator

Karsten1987 commented Aug 5, 2020

@clalancette let me know that for backport PRs, the ros distro dropdown menu field within jenkins has to be set to foxy and not rolling, as the latter uses a newer version of pytest which requires a pytest.ini file.

@Karsten1987
Copy link
Copy Markdown
Collaborator

With ros distro target "foxy":

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@Karsten1987
Copy link
Copy Markdown
Collaborator

Once more with a custom CI branch:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Copy link
Copy Markdown
Collaborator

@Karsten1987 Karsten1987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the PR job failure is clearly unrelated.

@Karsten1987
Copy link
Copy Markdown
Collaborator

@j-rivero it looks like something went wrong in this PR here: ros2/ci#471
The CI script used to make this backport PR pass CI is by revoking changes from the linked PR. @clalancette please correct me if I am wrong.

@Karsten1987 Karsten1987 merged commit 5beca36 into foxy Aug 5, 2020
@delete-merged-branch delete-merged-branch bot deleted the dabonnie/backport-483 branch August 5, 2020 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants