Skip to content

tests: add tests for injecting large resources - #7

Open
RaisinTen wants to merge 1 commit into
mainfrom
add-tests
Open

tests: add tests for injecting large resources#7
RaisinTen wants to merge 1 commit into
mainfrom
add-tests

Conversation

@RaisinTen

@RaisinTenRaisinTen commented Sep 9, 2022

Copy link
Copy Markdown
Member

Fixes: #12
Signed-off-by: Darshan Sen raisinten@gmail.com

@RaisinTen
RaisinTenforce-pushed the add-tests branch 2 times, most recently from bacb589 to f5acc1dCompareSeptember 20, 2022 06:39
@RaisinTenRaisinTen changed the title Add testsAdd tests for injecting large resourcesSep 20, 2022
@RaisinTenRaisinTen changed the title Add tests for injecting large resourcestests: add tests for injecting large resourcesSep 20, 2022
@RaisinTen
RaisinTenforce-pushed the add-tests branch 2 times, most recently from 581d0ce to cbfc064CompareSeptember 20, 2022 11:29
Fixes: #12
Signed-off-by: Darshan Sen <raisinten@gmail.com>
Comment threadbuild/deps.mk
cc test.c -o "$bin"

input="$TEMPORARY_DIRECTORY/input.txt"
head -c 1073741824 /dev/urandom > "$input"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why not head -c 1G /dev/urandom?

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

@robertgzr doesn't work on macOS unfortunately

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

sad

RaisinTen added a commit that referenced this pull request Sep 20, 2022
Addresses #7 (comment).
Signed-off-by: Darshan Sen <raisinten@gmail.com>
RaisinTen added a commit that referenced this pull request Sep 20, 2022
Addresses #7 (comment).
Signed-off-by: Darshan Sen <raisinten@gmail.com>

@dsanders11dsanders11 left a comment

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.

I think we should hold off on landing changes to tests until #8 lands, it changes how tests are implemented.

@RaisinTen

Copy link
Copy Markdown
MemberAuthor

it changes how tests are implemented.

Can we focus that PR on just the WASM-related changes instead? I don't think it's a good idea to mix unrelated things into a PR if we can help it because as we can see here, it's blocking the progress of other PRs. Feel free to let me know if you're stuck anywhere because I've noticed that the last push was 11 days ago.

Sign up for freeto 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.

Add a test injecting a large resource

3 participants

@RaisinTen@robertgzr@dsanders11