Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions test/src/org/labkey/test/tests/targetedms/TargetedMSQCTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.labkey.test.Locator;
import org.labkey.test.SortDirection;
import org.labkey.test.TestFileUtils;
import org.labkey.test.TestTimeoutException;
import org.labkey.test.components.ext4.RadioButton;
import org.labkey.test.components.ext4.Window;
import org.labkey.test.components.html.SiteNavBar;
Expand All @@ -36,6 +37,7 @@
import org.labkey.test.components.targetedms.QCSummaryWebPart;
import org.labkey.test.pages.targetedms.PanoramaAnnotations;
import org.labkey.test.pages.targetedms.PanoramaDashboard;
import org.labkey.test.util.APIContainerHelper;
import org.labkey.test.util.ApiPermissionsHelper;
import org.labkey.test.util.DataRegionTable;
import org.labkey.test.util.Ext4Helper;
Expand Down Expand Up @@ -197,6 +199,14 @@ public void preTest()
qcPlotsWebPart.revertToDefaultView();
}

@Override
protected void doCleanup(boolean afterTest) throws TestTimeoutException
{
// Use the API-based approach for deletion so that we don't trigger AJAX requests navigating to the delete page
// that may run in the background and cause SQL Server deadlock exceptions
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Panorama doesn't support SQL Server anymore so this comment can be updated or trimmed.

new APIContainerHelper(this).deleteProject(getProjectName(), afterTest);
}

@Test
public void testQCDashboard()
{
Expand Down
Loading