Skip to content

Commit 2adc800

Browse files
runningcodeclaude
andcommitted
ci(lint): Lint integrationTest source sets
Spring and servlet modules keep tests that run against a real server in integrationTest source sets, which no suite matched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 63d1dbf commit 2adc800

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎lint/files.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ export const TEST_SOURCES = [
88
// Also matches flavor source sets such as `androidTestReplay`.
99
"**/src/androidTest*/**/*.java",
1010
"**/src/androidTest*/**/*.kt",
11+
// Spring and servlet modules run tests against a real server in these source sets.
12+
"**/src/integrationTest*/**/*.java",
13+
"**/src/integrationTest*/**/*.kt",
1114
];

‎lint/suites/tests.ts‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@ export default {
3232
// A bounded poll is the only option for state nothing signals, such as a thread parking.
3333
flakyWait: yesNo(
3434
"Do the new lines wait by sleeping a fixed time and assuming the work is done by then, by looping " +
35-
"with no deadline, or by assuming thread ordering, or poll for a condition that a `Future`, latch, idling resource, fake clock, or the " +
36-
"executor's own completion could signal instead?",
35+
"with no deadline, or by assuming thread ordering, or poll for a condition that a `Future`, " +
36+
"latch, idling resource, fake clock, or the executor's own completion could signal instead?",
3737
"The test sleeps a fixed time, waits without a bound, or polls where a deterministic signal exists.",
3838
"The new lines wait on a deterministic signal, poll with a deadline for state nothing signals, or " +
3939
"don't wait.",
40-
"Wait on a deterministic signal: a `Future`, a `CountDownLatch`, an idling resource, a fake clock, or " +
41-
"the executor's own completion. Poll only for state nothing signals, and bound the poll with a deadline.",
40+
"Wait on a deterministic signal: a `Future`, a `CountDownLatch`, an idling resource, a fake " +
41+
"clock, or the executor's own completion. Poll only for state nothing signals, and bound the " +
42+
"poll with a deadline.",
4243
),
4344
},
4445
} satisfies Suite;

0 commit comments

Comments
 (0)