Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

Connection exception during test execution #66

@ksiu

Description

@ksiu

When running a moderate number of tests (e.g. 173), the following exception occurs:
22:02:39 INFO c.s.c.a.c.TestStatusPollerAndResultHandler - Total tests executed 93 , Remaining tests 80
22:02:39 INFO c.s.c.a.c.TestStatusPollerAndResultHandler - Now executing the test class: *** (https:///*** ) Status : Queued
22:04:01 ERROR com.sforce.cd.apexUnit.ApexUnitUtils - Connection exception encountered while executing query :Select Id, ApexClassId, ApexClass.Name, ExtendedStatus, ParentJobId, Status, SystemModstamp, CreatedDate From ApexTestQueueItem Where ParentJobId = '************'

This happens despite that all tests have passed on the server. Re-running the tests doesn't seem to fix it. If it's related to timeout, we need to know how to adjust the timeout to make it reflect the fact that all tests have passed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions