-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Flaky Clipboard Unit Tests #3456
Copy link
Copy link
Closed
Labels
area-ClipboardIssues related to ClipboardIssues related to Clipboardtest-bugProblem in test source code (most likely)Problem in test source code (most likely)test-enhancementImprovements of test source codeImprovements of test source code
Milestone
Metadata
Metadata
Assignees
Labels
area-ClipboardIssues related to ClipboardIssues related to Clipboardtest-bugProblem in test source code (most likely)Problem in test source code (most likely)test-enhancementImprovements of test source codeImprovements of test source code
Type
Fields
Give feedbackNo fields configured for issues without a type.
.NET Core Version:
master
Have you experienced this same bug with .NET Framework?:
no
Problem description:
Noticed as a flaky test:
Test seems to assume clipboard is empty/nonfunctional (there is at least one more test along these, should review for more clipboard-dependent tests)
Also any clipboard tests need to be
[Collection("Sequential")]to avoid overlapping with other clipboard tests. Is it worth making the whole test class sequential just due to that single test? should the test be moved?Expected behavior:
Clipboard based tests initialize clipboard to be in known state and are marked for sequential execution
Minimal repro:
none, flaky test