Skip to content

test: Added Worker calls to Api.Mock#607

Open
dbrasseur-aneo wants to merge 3 commits into
db/python_agent_certificatesfrom
db/workerMock
Open

test: Added Worker calls to Api.Mock#607
dbrasseur-aneo wants to merge 3 commits into
db/python_agent_certificatesfrom
db/workerMock

Conversation

@dbrasseur-aneo
Copy link
Copy Markdown
Contributor

@dbrasseur-aneo dbrasseur-aneo commented Mar 21, 2025

Motivation

Some tests needed an agent to call a worker.

Description

This gives the Api.Mock this capability, and python received an example test for this new test

Testing

It's a test

Impact

No impact, it's tests only

Additional Information

Checklist

  • My code adheres to the coding and style guidelines of the project.
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • I have thoroughly tested my modifications and added tests when necessary.
  • Tests pass locally and in the CI.
  • I have assessed the performance impact of my modifications.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 21, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1526 1322 87% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 7b56154 by action🐍

@dbrasseur-aneo dbrasseur-aneo changed the title internal: Added Worker calls to Api.Mock refactor: Added Worker calls to Api.Mock Mar 25, 2025
@dbrasseur-aneo dbrasseur-aneo force-pushed the db/workerMock branch 2 times, most recently from 61097d8 to 154ff42 Compare March 26, 2025 10:29
@dbrasseur-aneo dbrasseur-aneo changed the base branch from main to db/python_agent_certificates March 26, 2025 10:29
@dbrasseur-aneo dbrasseur-aneo changed the title refactor: Added Worker calls to Api.Mock tests: Added Worker calls to Api.Mock Mar 26, 2025
@dbrasseur-aneo dbrasseur-aneo force-pushed the db/workerMock branch 2 times, most recently from adb6c52 to e531a5e Compare March 26, 2025 10:38
@dbrasseur-aneo dbrasseur-aneo changed the title tests: Added Worker calls to Api.Mock test: Added Worker calls to Api.Mock Mar 26, 2025
@dbrasseur-aneo dbrasseur-aneo marked this pull request as ready for review March 26, 2025 10:46
@dbrasseur-aneo dbrasseur-aneo self-assigned this Mar 26, 2025
@dbrasseur-aneo dbrasseur-aneo force-pushed the db/python_agent_certificates branch from 528ab2e to aa0c664 Compare March 26, 2025 13:02
@dbrasseur-aneo dbrasseur-aneo force-pushed the db/python_agent_certificates branch from aa0c664 to eb25d4e Compare March 28, 2025 13:32
Copy link
Copy Markdown
Contributor

@lemaitre-aneo lemaitre-aneo left a comment

Choose a reason for hiding this comment

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

In the pipeline, I would split client tests from worker tests as I do not expect workers to use tls at all, and I expect other languages do not support tls on the worker side currently.

@dbrasseur-aneo dbrasseur-aneo force-pushed the db/python_agent_certificates branch from 9e8ceaf to 42167eb Compare April 14, 2025 12:59
@dbrasseur-aneo dbrasseur-aneo force-pushed the db/python_agent_certificates branch from 42167eb to 7d44bc4 Compare April 14, 2025 14:05
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