Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added parallelism to pubsub workflow #729

Merged
merged 14 commits into from
Sep 1, 2022

Conversation

amulyavarote
Copy link
Contributor

@amulyavarote amulyavarote commented Aug 24, 2022

Signed-off-by: Amulya Varote amulyavarote@microsoft.com

Description

Please explain the changes you've made

Issue reference

We strive to have all PRs being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #730

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • The quickstart code compiles correctly
  • You've tested new builds of the quickstart if you changed quickstart code
  • You've updated the quickstart's README if necessary
  • If you have changed the steps for a quickstart be sure that you have updated the automated validation accordingly. All of our quickstarts have annotations that allow them to be executed automatically as code. For more information see mechanical-markdown. For user guide with examples see Examples.

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
@amulyavarote amulyavarote mentioned this pull request Aug 25, 2022
4 tasks
Copy link
Contributor

@paulyuk paulyuk left a comment

Choose a reason for hiding this comment

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

Looks like a good overall improvement for perf and throughput of testing.

Have we validated that no state is shared (e.g. ports etc) that will cause collisions during parallel tests?

What about C# support?

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
@amulyavarote
Copy link
Contributor Author

Looks like a good overall improvement for perf and throughput of testing.

Have we validated that no state is shared (e.g. ports etc) that will cause collisions during parallel tests?

What about C# support?

As we have different workflow for each building block. I think there is no sharing of resources. And examples use different port numbers under each building block.

Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Signed-off-by: Amulya Varote <amulyavarote@microsoft.com>
Copy link
Contributor

@paulyuk paulyuk left a comment

Choose a reason for hiding this comment

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

Thanks a lot @amulyavarote

These port changes look great.
I do wonder if we should have uniquely named ALL app-ids. Let's try this and watch, just to make sure there's no collision.

LGTM

@@ -40,6 +41,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-10.15]
quickstart_language: [go, csharp, javascript, python, java]
Copy link
Contributor

Choose a reason for hiding this comment

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

thank you ! see csharp!

@@ -502,8 +502,6 @@ kubectl logs --selector app=python-subscriber -c python-subscriber
name: Deploy Csharp App
expected_stdout_lines:
- "A: Message on A"
- "B: Message on B"
Copy link
Contributor

Choose a reason for hiding this comment

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

These lines are indeed brittle.

@paulyuk paulyuk merged commit 5987151 into dapr:master Sep 1, 2022
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.

Parallelize the workflows of http and sdk examples
2 participants