test(fsim-upload): implement reliable FSIM upload E2E - #66
Conversation
259b4e6 to
93c3f40
Compare
mmartinv
left a comment
There was a problem hiding this comment.
The idea is to use the existing functions and overwrite the ones that need changes, see test-containers.sh vs test-makefile.sh
If we want to run this test with both local run and containers you will need two files:
test-fsim-upload.sh(please let's try to be consistent with existing names) sourcingtest-makefile.shand overwriting/adding the required functionstest-fsim-upload-containerssourcingtest-containers.shand again overwriting/adding the required functions
|
I agree with what @mmartinv has mentioned. So for download fsim I am trying to add a function test_download_fsim() in test-makefile.sh which will run for both the environments based on what is selected in ci.yml |
93c3f40 to
9db258f
Compare
mmartinv
left a comment
There was a problem hiding this comment.
Looks great, just some minor function renaming to match the changes I am planning
3872402 to
cefff84
Compare
|
@mmartinv I committed all you suggested changes... and squashed them into one commit. |
81ea802 to
5a2555d
Compare
|
@mmartinv addressed your comments, cleaned up other redundancies. |
mmartinv
left a comment
There was a problem hiding this comment.
Let's do the suggested minor changes and get this in.
You will also need to rebase and remove the changes in test/test-makefile.sh as they were already done by Ken in his PR.
| - name: Cleanup the environment | ||
| if: always() | ||
| run: | | ||
| source test/test-makefile.sh |
There was a problem hiding this comment.
| source test/test-makefile.sh | |
| source test/test-fsim-upload.sh |
Owner is started with --upload-directory and --command-upload. Fdo device onboard is started with upload flag that points to the dir. Matches source and destination file checksum. Signed-off-by: Sayan Paul <paul.sayan@gmail.com> Co-authored-by: Miguel Martin <mmartinv@redhat.com>
5a2555d to
37600c0
Compare
Uh oh!
There was an error while loading. Please reload this page.