Skip to content

Rename mock_control_(client|daemon) to control_client_test_driver - #472

Merged
MaciejKaszynski merged 2 commits into
eclipse-score:mainfrom
etas-contrib:stubs-arent-mocks
Aug 14, 2026
Merged

Rename mock_control_(client|daemon) to control_client_test_driver#472
MaciejKaszynski merged 2 commits into
eclipse-score:mainfrom
etas-contrib:stubs-arent-mocks

Conversation

@cameron-craig-etas

Copy link
Copy Markdown
Contributor

#458

This PR renames the test drivers in our integration tests to better reflect what they are doing. They used to be called mocks, but they were not in fact mocks. We thought they might be stubs, but we have found that they are best described as test drivers, as they are primarily driving the test by changing run targets.

@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.6.0) and connecting to it...
INFO: Invocation ID: d06b0086-6405-463a-b2ee-4b568a4d73c7
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 0 packages loaded
Loading: 0 packages loaded
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Loading: 0 packages loaded
    currently loading: 
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)
Analyzing: target //:license-check (1 packages loaded, 0 targets configured)

Analyzing: target //:license-check (34 packages loaded, 10 targets configured)

Analyzing: target //:license-check (90 packages loaded, 10 targets configured)

Analyzing: target //:license-check (152 packages loaded, 3161 targets configured)

Analyzing: target //:license-check (160 packages loaded, 6455 targets configured)

Analyzing: target //:license-check (172 packages loaded, 9451 targets configured)

Analyzing: target //:license-check (172 packages loaded, 9451 targets configured)

INFO: Analyzed target //:license-check (177 packages loaded, 11589 targets configured).
[3 / 14] Expanding template external/score_tooling+/dash/tool/formatters/_dash_format_converter_stage2_bootstrap.py [for tool]; 0s local
INFO: Found 1 target...
Target //:license.check.license_check up-to-date:
  bazel-bin/license.check.license_check
  bazel-bin/license.check.license_check.jar
INFO: Elapsed time: 22.160s, Critical Path: 0.33s
INFO: 16 processes: 4 disk cache hit, 12 internal.
INFO: Build completed successfully, 16 total actions
INFO: Running command line: bazel-bin/license.check.license_check ./formatted.txt <args omitted>
usage: org.eclipse.dash.licenses.cli.Main [-batch <int>] [-cd <url>]
       [-confidence <int>] [-ef <url>] [-excludeSources <sources>] [-help] [-lic
       <url>] [-project <shortname>] [-repo <url>] [-review] [-summary <file>]
       [-timeout <seconds>] [-token <token>]

@github-actions

Copy link
Copy Markdown

The created documentation from the pull request is available at: docu-html

@danth danth left a comment

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.

LGTM, maybe add a check in #464 for the old name

@MaciejKaszynski MaciejKaszynski 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.

In tests/integration/process_fd_leak we have a control_client.cpp I think it would also need to be renamed to control_client_test_driver. Do you think this should be done on this PR or if it's easier we can do on the precommit pr #464

@danth

danth commented Aug 14, 2026

Copy link
Copy Markdown
Member

Do you think this should be done on this PR

IMO it would make more sense here.

@cameron-craig-etas
cameron-craig-etas deployed to workflow-approval August 14, 2026 10:04 — with GitHub Actions Active
@cameron-craig-etas
cameron-craig-etas deployed to workflow-approval August 14, 2026 10:04 — with GitHub Actions Active
@MaciejKaszynski
MaciejKaszynski merged commit d96118b into eclipse-score:main Aug 14, 2026
23 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in LCM - Lifecycle & Health FT Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants