canonical / canonical/charm-integration-testing

Known limitation: neighbor charm can drop the tested endpoint between scheduling and running a test execution

Open
#885 1 comment 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
Python
Stars
6
Forks
1
Avg merge
1d 20h
Merged PRs (30d)
98

Description

## Description

The test scheduler creates a test execution pairing a new charm version with "the
latest stable" version of each neighboring charm at schedule time. Before the
execution actually runs, the neighbor's stable channel can be updated to a revision
that no longer has the endpoint used for that integration, so the test fails for
reasons unrelated to the charm under test.

## Why won't-fix

This is inherent to testing against a moving target ("latest stable"). Pinning the
neighbor at schedule time defeats that purpose; re-validating at execution time adds
real complexity for a narrow, infrequent race window. No good fix exists; tracking as
a known limitation.

Contributor guide

Open the contributing guide

Research direction

Read the issue description first to understand the scheduling race: a neighbor charm can change its stable revision before the test execution runs. No file, test, or implementation change is identified; the issue records a known limitation and explicitly says it will not be fixed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.