-
Notifications
You must be signed in to change notification settings - Fork 25
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
Publish Subscribe integrated test #203
Publish Subscribe integrated test #203
Conversation
f23a8ff
to
2cff135
Compare
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
2cff135
to
92869a3
Compare
Code coverage report is ready! 📈
|
92869a3
to
24150d9
Compare
Code coverage report is ready! 📈
|
24150d9
to
fbed8f8
Compare
Code coverage report is ready! 📈
|
fbed8f8
to
9260da4
Compare
Code coverage report is ready! 📈
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor comment left
EXPECT_EQ(AsString::serialize(topic_), | ||
AsString::serialize(transportSub->sink_filter_)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URI check should probably be against the message and not the local variable:
EXPECT_EQ(AsString::serialize(topic_), | |
AsString::serialize(transportSub->sink_filter_)); | |
EXPECT_EQ(AsString::serialize(transportMock_->message_.sink()), | |
AsString::serialize(transportSub->sink_filter_)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For publish message, sink is empty, I have changed it to transportMock_->message_.attributes().source()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If that's the case, shouldn't it be checked against the source filter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ruchirchauhan - this is still open. If publish methods can only have sources, then shouldn't they be checked against the source filter and not the sink filter?
9260da4
to
60a3139
Compare
Code coverage report is ready! 📈
|
This should be ready to be merged |
- This test tests the complete pub-sub flow to make sure data flows correctly through the pipeline.
60a3139
to
776b244
Compare
Code coverage report is ready! 📈
|
This test tests the complete pub-sub flow to make sure data flows correctly through the pipeline.