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

passt file transfer tests via tcp/udp #4150

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yanglei-rh
Copy link
Contributor

Add a new case to support passt file transfer test via tcp/udp

ID:2853
Signed-off-by: Lei Yang [email protected]

@yanglei-rh
Copy link
Contributor Author

Hi @PaulYuuu Could you please help me review this patch? It can test pass on my side, thanks in advance.

qemu/tests/passt_transfer_tests.py Outdated Show resolved Hide resolved
qemu/tests/cfg/passt_transfer_tests.cfg Outdated Show resolved Hide resolved
qemu/tests/passt_transfer_tests.py Outdated Show resolved Hide resolved
qemu/tests/passt_transfer_tests.py Outdated Show resolved Hide resolved
qemu/tests/passt_transfer_tests.py Outdated Show resolved Hide resolved
qemu/tests/passt_transfer_tests.py Outdated Show resolved Hide resolved
qemu/tests/passt_transfer_tests.py Outdated Show resolved Hide resolved
qemu/tests/passt_transfer_tests.py Outdated Show resolved Hide resolved
qemu/tests/passt_transfer_tests.py Outdated Show resolved Hide resolved
qemu/tests/passt_transfer_tests.py Outdated Show resolved Hide resolved
qemu/tests/passt_transfer_tests.py Outdated Show resolved Hide resolved
Add a new case to support passt file transfer test via tcp/udp

Signed-off-by: Lei Yang <[email protected]>
@yanglei-rh
Copy link
Contributor Author

Hello @PaulYuuu Could you please help review it again? I have update it based on your last times comment. And the corrent code can test pass on my side. Thanks in advance.

test.log.info)
if dst_md5 != src_md5:
test.fail("File changed after transfer host -> %s" % vm.name)
host2guest_port += 1
Copy link
Contributor

Choose a reason for hiding this comment

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

Both host2guest_port and guest2guest_port should from vim.virtnet, not simple calculations, if the vm ports are 1001 and 1003, the current not work.

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