Troubleshooting a Flaky Test

7/31/2026beginner

Speakers

You

あなた

Saku

QAエンジニア(フィンランド)

この場面について

CIで時々失敗する「不安定なテスト(flaky test)」について、フィンランドの同僚と一緒に原因を探る場面

Summary (JP)

あなたはCIパイプラインで時々失敗するテストに気づき、フィンランドのQAエンジニアのSakuに相談します。二人でログを確認し、テストの実行順序に問題があるかもしれないという仮説にたどり着きます。最後にSakuがテストを一時的にスキップし、チケットを作ることを提案します。優しい語彙と短い文で構成された、初心者向けの会話です。

会話

Speed:

文をクリックすると、その部分から読み上げが始まります。

You:

Hey Saku, do you have a minute?

Saku:

Sure, what's up?

You:

I found a flaky test in the pipeline.

Saku:

Oh, which one?

You:

The login test. It fails sometimes, but not always.

Saku:

That's annoying. Let's check the logs.

You:

Okay, one second. I'm opening them now.

Saku:

Do you see an error message?

You:

Yes, it says 'element not found.'

Saku:

Hmm, that's strange. The test passed yesterday.

You:

Maybe the test order is the problem?

Saku:

That makes sense. A different test before it might change the page.

You:

So it's a timing issue, not a real bug?

Saku:

Right, probably. But I want to be sure.

You:

What should we do for now?

Saku:

Let's skip the test for today.

Saku:

I'll create a ticket to fix it properly.

You:

Sounds good. Thanks for your help, Saku.

Saku:

No problem. Let me know if it happens again.

Vocabulary

flaky test

Meaning: 不安定なテスト(同じコードでも成功したり失敗したりするテスト)

Example: This flaky test fails about once every ten runs.

pipeline

Meaning: (CIの)パイプライン、自動処理の流れ

Example: The pipeline runs all our tests automatically.

fail

Meaning: 失敗する

Example: The login test failed again this morning.

logs

Meaning: ログ、記録

Example: Let's check the logs to see what happened.

order

Meaning: 順番、順序

Example: Maybe the order of the tests is the problem.

skip

Meaning: (一時的に)飛ばす、スキップする

Example: Let's skip this test for now.

ticket

Meaning: チケット(課題管理システムの作業項目)

Example: I'll create a ticket for this bug.

make sense

Meaning: 納得できる、筋が通る

Example: That explanation makes sense to me.

Quiz

1. What problem does 'You' notice at the start of the conversation?

2. What do You and Saku check together?

3. What is their idea about the cause of the problem?

4. What does Saku suggest doing for now?

5. How does 'You' feel about Saku's plan?

← Back to conversations