Skip to content

EnvUtilTest.testLoadTimestampShouldLoadFromFile The declared Exception exception is never thrown #3052

@manusa

Description

@manusa

Description

The method EnvUtilTest.testLoadTimestampShouldLoadFromFile declares an Exception that is never thrown.

The following line

void testLoadTimestampShouldLoadFromFile() throws Exception {

  • should be changed to:
    void testLoadTimestampShouldLoadFromFile() {

Before you start 🔴

👇 👇 👇 👇 👇 👇 👇 👇 👇 👇👇👇👇👇👇👇
Make sure you read the contributing guide first. Pay special attention to the ECA agreement section and the requirement to sign-off your commit.

How to manually test my changes

Kubernetes

If you don't have a real Kubernetes cluster available (most probably), you can use Minikube or Kind to test with a local cluster.

OpenShift

If you don't have a real OpenShift cluster available (most probably), you can use Red Hat's developer Sandbox for Red Hat OpenShift. The only requirement is to have a Red Hat account.

Once you have your Sandbox environment, you'll need to download the oc tool from the cluster console.
(Press the ? icon and from the context menu select Command line tools, you'll be redirected to https://$subdomain.openshiftapps.com/command-lines-tools where you'll be able to download the CLI for your platform)

Metadata

Metadata

Assignees

Labels

first-timers-onlyIs this your first time contributing? This could be a good place to start!good first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions