Skip to content

Commit

Permalink
disable CancelCommandClearsAllData test
Browse files Browse the repository at this point in the history
- disabled CancelCommandClearsAllData test as the command it is supposed to be testing currently is restricted under testing environment as it crashes master-15 (sequentially running of tests) because of thread affinity issue
  • Loading branch information
dnenov committed Dec 7, 2023
1 parent e7268f2 commit 628617b
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions test/DynamoCoreWpfTests/PackageManager/PackageManagerUITests.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using Dynamo.Core;
using Dynamo.Extensions;
using Dynamo.PackageManager;
Expand All @@ -13,15 +22,6 @@
using Greg.Responses;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using SystemTestServices;

namespace DynamoCoreWpfTests.PackageManager
Expand Down Expand Up @@ -2172,8 +2172,9 @@ public void CanRemoveAllDependencyTypes()
Assert.IsFalse(vm.PackageContents.Any());
}


[Test]
// This test asserts CancelCommand, which is currently disabled under testing environment
// as it is causing a tread affinity crash. The test will be disabled for the time being
[Test, Category("Failure")]
public void CancelCommandClearsAllData()
{
// Arrange
Expand Down

0 comments on commit 628617b

Please sign in to comment.