This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/master by this push:
new 9bc6ca9a AIRAVATA-3680 Fix test failure
9bc6ca9a is described below
commit 9bc6ca9a38c4ea8214edc5923df76fe001fdaacb
Author: Marcus Christie <[email protected]>
AuthorDate: Mon Feb 6 10:42:46 2023 -0500
AIRAVATA-3680 Fix test failure
---
.../statistics/ExperimentStatisticsContainer.spec.js | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git
a/django_airavata/apps/admin/static/django_airavata_admin/tests/unit/components/statistics/ExperimentStatisticsContainer.spec.js
b/django_airavata/apps/admin/static/django_airavata_admin/tests/unit/components/statistics/ExperimentStatisticsContainer.spec.js
index bcc7166f..5bdba0b8 100644
---
a/django_airavata/apps/admin/static/django_airavata_admin/tests/unit/components/statistics/ExperimentStatisticsContainer.spec.js
+++
b/django_airavata/apps/admin/static/django_airavata_admin/tests/unit/components/statistics/ExperimentStatisticsContainer.spec.js
@@ -136,9 +136,14 @@ test("load experiment by job id when job id matches unique
experiment", async ()
expect(jobTab).toBeVisible();
// Double check that the experiment services were called to load the
experiment
- expect(services.ExperimentService.retrieve).toHaveBeenCalledWith({
- lookup: experiment.experimentId,
- });
+ expect(services.ExperimentService.retrieve).toHaveBeenCalledWith(
+ {
+ lookup: experiment.experimentId,
+ },
+ {
+ ignoreErrors: true,
+ }
+ );
expect(services.FullExperimentService.retrieve).toHaveBeenCalledWith({
lookup: experiment.experimentId,
});