Skip to content

e2e test to include bookinfo as test application#790

Merged
kmesh-bot merged 2 commits intokmesh-net:mainfrom
YaoZengzeng:bookinfo
Aug 30, 2024
Merged

e2e test to include bookinfo as test application#790
kmesh-bot merged 2 commits intokmesh-net:mainfrom
YaoZengzeng:bookinfo

Conversation

@YaoZengzeng
Copy link
Copy Markdown
Member

What type of PR is this?

/kind enhancement

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #766

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@kmesh-bot kmesh-bot added the kind/enhancement New feature or request label Aug 29, 2024
Signed-off-by: YaoZengzeng <yaozengzeng@huawei.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.05%. Comparing base (a941af1) to head (cec9652).
Report is 47 commits behind head on main.

see 6 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d62169...cec9652. Read the comment docs.

@YaoZengzeng
Copy link
Copy Markdown
Member Author

/retest

t.Fatalf("failed to install bookinfo: %v", err)
}
t.Cleanup(func() {
if _, err := shell.Execute(true, fmt.Sprintf("kubectl delete -f https://raw.githubusercontent.com/istio/istio/release-1.22/samples/bookinfo/platform/kube/bookinfo.yaml -n %s", namespace)); err != nil {
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.

Does this need to change with istio version changes

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Does this need to change with istio version changes

It should not be needed at present. We only use very basic functions here and bookinfo itself will not change much with upgrade of istio.

})

// Install sleep as client.
if _, err := shell.Execute(true, fmt.Sprintf("kubectl apply -f https://raw.githubusercontent.com/istio/istio/release-1.21/samples/sleep/sleep.yaml -n %s", namespace)); err != nil {
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.

Why is it release 1.22 above and release 1.21 here?

Signed-off-by: YaoZengzeng <yaozengzeng@huawei.com>
@LiZhenCheng9527
Copy link
Copy Markdown
Contributor

/lgtm

Copy link
Copy Markdown
Member

@hzxuzhonghu hzxuzhonghu left a comment

Choose a reason for hiding this comment

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

This is very hack, we can use call options provided by istio

But i wish this test to cover ipv4 mapped v6 asap, so

/lgtm

@kmesh-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hzxuzhonghu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kmesh-bot kmesh-bot merged commit 835d85e into kmesh-net:main Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[E2E Enhancement] include bookinfo as test appliaction

4 participants