Skip to content

test: fix test failures in ActionEventInterceptorTest#8938

Merged
weizhouapache merged 2 commits into
apache:mainfrom
weizhouapache:4.20-fix-ActionEventInterceptorTest
Apr 19, 2024
Merged

test: fix test failures in ActionEventInterceptorTest#8938
weizhouapache merged 2 commits into
apache:mainfrom
weizhouapache:4.20-fix-ActionEventInterceptorTest

Conversation

@weizhouapache

Copy link
Copy Markdown
Member

This fixes test failures in some PRs against main/4.20 branch

Error:  Failures:
Error:    ActionEventInterceptorTest.testInterceptComplete:247
Error:    ActionEventInterceptorTest.testInterceptException:261
Error:    ActionEventInterceptorTest.testInterceptStartAsync:234 expected:<Starting VM[.  Id: 0 Name: null]> but was:<Starting VM[]>

Description

This PR...

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

```
Error:  Failures:
Error:    ActionEventInterceptorTest.testInterceptComplete:247
Error:    ActionEventInterceptorTest.testInterceptException:261
Error:    ActionEventInterceptorTest.testInterceptStartAsync:234 expected:<Starting VM[.  Id: 0 Name: null]> but was:<Starting VM[]>
```
@weizhouapache

Copy link
Copy Markdown
Member Author

Not sure if it fixes the issue, let's wait for the results of github actions

@DaanHoogland DaanHoogland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

clgtm and fixes the issue locally for me.

@weizhouapache

Copy link
Copy Markdown
Member Author

clgtm and fixes the issue locally for me.

great, thanks @DaanHoogland

I kicked the build 3 times, all succeeded. https://github.com/apache/cloudstack/actions/runs/8734995428/job/23976479820?pr=8938

@weizhouapache weizhouapache marked this pull request as ready for review April 19, 2024 12:28
@weizhouapache

Copy link
Copy Markdown
Member Author

marked as "ready for review" as it fixes the failure with build CI

@vishesh92 vishesh92 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

clgtm

@weizhouapache weizhouapache merged commit 8ff2c01 into apache:main Apr 19, 2024
@DaanHoogland DaanHoogland deleted the 4.20-fix-ActionEventInterceptorTest branch April 19, 2024 13:41
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request May 3, 2024
* test: fix test failures in ActionEventInterceptorTest

```
Error:  Failures:
Error:    ActionEventInterceptorTest.testInterceptComplete:247
Error:    ActionEventInterceptorTest.testInterceptException:261
Error:    ActionEventInterceptorTest.testInterceptStartAsync:234 expected:<Starting VM[.  Id: 0 Name: null]> but was:<Starting VM[]>
```

* Update 8938: move CallContext.unregister as well
@DaanHoogland DaanHoogland added this to the 4.20.0.0 milestone May 7, 2024
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