Skip to content

test: Enable addFakeUpstream() to create AutonomousUpstreams#21908

Merged
alyssawilk merged 3 commits intoenvoyproxy:mainfrom
abeyad:fake_upstream
Jun 28, 2022
Merged

test: Enable addFakeUpstream() to create AutonomousUpstreams#21908
alyssawilk merged 3 commits intoenvoyproxy:mainfrom
abeyad:fake_upstream

Conversation

@abeyad
Copy link
Copy Markdown
Contributor

@abeyad abeyad commented Jun 27, 2022

Previously, the BaseIntegrationTest::addFakeUpstream() function would only create a FakeUpstream, not taking
BaseIntegrationTest::autonomous_upstream_ into account. This could lead to confusing integration test behavior.

With this change, the addFakeUpstream() function takes a required autonomous_upstream parameter that
indicates whether an AutonomousUpstream should be created instead of a FakeUpstream.

Signed-off-by: Ali Beyad abeyad@google.com

Signed-off-by: Ali Beyad <abeyad@google.com>
@abeyad
Copy link
Copy Markdown
Contributor Author

abeyad commented Jun 27, 2022

/assign @alyssawilk

Signed-off-by: Ali Beyad <abeyad@google.com>
@abeyad abeyad requested a review from lizan as a code owner June 27, 2022 18:41
alyssawilk
alyssawilk previously approved these changes Jun 27, 2022
Copy link
Copy Markdown
Contributor

@alyssawilk alyssawilk left a comment

Choose a reason for hiding this comment

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

LGTM, CI willing :-)

@alyssawilk alyssawilk enabled auto-merge (squash) June 27, 2022 18:58
Signed-off-by: Ali Beyad <abeyad@google.com>
auto-merge was automatically disabled June 27, 2022 19:30

Head branch was pushed to by a user without write access

@abeyad abeyad requested a review from RyanTheOptimist as a code owner June 27, 2022 19:30
@alyssawilk alyssawilk merged commit e792008 into envoyproxy:main Jun 28, 2022
alyssawilk pushed a commit to envoyproxy/envoy-mobile that referenced this pull request Jun 28, 2022
Pulls in envoyproxy/envoy#21908, which is needed to build the
xDS integration tests in Envoy Mobile.

Signed-off-by: Ali Beyad abeyad@google.com

Signed-off-by: Ali Beyad <abeyad@google.com>
jpsim pushed a commit that referenced this pull request Nov 29, 2022
Pulls in #21908, which is needed to build the
xDS integration tests in Envoy Mobile.

Signed-off-by: Ali Beyad abeyad@google.com

Signed-off-by: Ali Beyad <abeyad@google.com>
Signed-off-by: JP Simard <jp@jpsim.com>
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.

2 participants