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

libc: add passing custom parameter to unix-socket test #378

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

Conversation

adamdebek
Copy link
Contributor

@adamdebek adamdebek commented Oct 7, 2024

…et test

JIRA: CI-501

Description

Motivation and Context

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (refactoring, style fixes, git/CI config, submodule management, no code logic changes)

How Has This Been Tested?

  • Already covered by automatic testing.
  • New test added: (add PR link here).
  • Tested by hand on: (list targets here).

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing linter checks and tests passed.
  • My changes generate no new compilation warnings for any of the targets.

Special treatment

  • This PR needs additional PRs to work (list the PRs, preferably in merge-order).
  • I will merge this PR by myself when appropriate.

Copy link

github-actions bot commented Oct 7, 2024

Unit Test Results

7 725 tests  ±0   7 010 ✅ ±0   36m 48s ⏱️ -16s
  445 suites ±0     715 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 7128227. ± Comparison against base commit aba8104.

♻️ This comment has been updated with latest results.

@nalajcie
Copy link
Member

nalajcie commented Oct 7, 2024

maybe it would be better to pass custom timeout param as a commandline param if possible (that way we will be able to provide custom values for any particular target requiring it?)

@mateusz-bloch
Copy link
Member

image
nit: Commit title should be short, details can be described in the commit message body

Copy link
Member

@nalajcie nalajcie left a comment

Choose a reason for hiding this comment

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

some nitpicks, also 👍 for writing short/simple commit message titles

libc/socket/unix-socket.c Outdated Show resolved Hide resolved
libc/socket/unix-socket.c Show resolved Hide resolved
libc/socket/unix-socket.c Outdated Show resolved Hide resolved
@adamdebek adamdebek force-pushed the adamdebek/CI-501 branch 2 times, most recently from e5f5080 to ddbba9b Compare October 9, 2024 11:49
@adamdebek adamdebek changed the title libc: add custom timeout discrepancy for emulated target in unix-sock… libc: add passing custom parameter to unix-socket test Oct 9, 2024
libc/socket/unix-socket.c Outdated Show resolved Hide resolved
@nalajcie
Copy link
Member

nalajcie commented Oct 9, 2024

image

image

@adamdebek adamdebek force-pushed the adamdebek/CI-501 branch 2 times, most recently from 8790843 to 12e5c5e Compare October 9, 2024 15:19
*/
for (int i = 1; i < argc; i++) {
if (strcmp(argv[i], "--extra-poll-delay-ms") == 0) {
pollTimeoutDelay = atoi(argv[i + 1]);
Copy link
Member

Choose a reason for hiding this comment

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

Should pollTimeoutDelay ever be allowed to have negative value? If not, maybe it'd be good to have a simple argument value validation here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is passed directly in test.yaml, but I can add it.

Add passing custom parameter to unix-socket test on armv7a9-zynq7000-qemu since
blocking interval significantly overruns timeout due to host system scheduling delays

JIRA: CI-501
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.

4 participants