Skip to content

test/rgw/lua: use stats polling instead of sleep - #60168

Merged
yuvalif merged 1 commit into
ceph:mainfrom
yuvalif:wip-yuval-68336
Oct 10, 2024
Merged

yuvalif merged 1 commit into
ceph:mainfrom
yuvalif:wip-yuval-68336

Conversation

@yuvalif

@yuvalif yuvalif commented Oct 7, 2024

Copy link
Copy Markdown
Contributor

this makes the test more consistent as well as faster

fixes: https://tracker.ceph.com/issues/68335

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@yuvalif
yuvalif requested a review from a team as a code owner October 7, 2024 15:36
@yuvalif

yuvalif commented Oct 8, 2024

Copy link
Copy Markdown
Contributor Author

jenkins test api

}
}

#define WAIT_FOR_BACKGROUND \

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.

nit: why macro instead of function?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

no good reason. maybe becuase "test code should be ugly" :-)

@yuvalif

yuvalif commented Oct 9, 2024

Copy link
Copy Markdown
Contributor Author

api test is failing due to compilation error:

/home/jenkins-build/build/workspace/ceph-api/src/librados/librados_asio.h:193:10: error: no matching function for call to 'async_initiate'

@cbodley

cbodley commented Oct 9, 2024

Copy link
Copy Markdown
Contributor

jenkins test api

@yuvalif
yuvalif merged commit cb9d94a into ceph:main Oct 10, 2024
@ivancich

Copy link
Copy Markdown
Member

@yuvalif Can you fill out which backports are needed on the tracker? Thanks!

@yuvalif

yuvalif commented Oct 10, 2024

Copy link
Copy Markdown
Contributor Author

@yuvalif Can you fill out which backports are needed on the tracker? Thanks!

updated in the tracker

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.

3 participants