Skip to content

Commit

Permalink
git: skip flaky test
Browse files Browse the repository at this point in the history
Fixes: eclipse-theia#8215

The following commit skips a flaky git test (which tests the branches
are in chronological order) which seems dependent on the git version
present on the machine. This causes issues for downstream applications
which run the suite and fail.

Signed-off-by: vince-fugnitto <[email protected]>
  • Loading branch information
vince-fugnitto committed Jul 21, 2020
1 parent 4c63f08 commit a833e50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/git/src/node/dugite-git.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,8 @@ describe('git', async function (): Promise<void> {

describe('branch', () => {

it('should list the branch in chronological order', async function (): Promise<void> {
// Skip the test case as it is dependent on the git version.
it.skip('should list the branch in chronological order', async function (): Promise<void> {
if (isWindows) {
this.skip(); // https://github.com/eclipse-theia/theia/issues/8023
return;
Expand Down

0 comments on commit a833e50

Please sign in to comment.