Skip to content

Conversation

@matthewelwell
Copy link
Contributor

@matthewelwell matthewelwell commented Feb 3, 2023

This PR achieves 2 things:

  1. Prevents the client from throwing an exception on startup if it's unable to retrieve the environment information
  2. Uses default flags when in local evaluation mode but the environment is not present

@matthewelwell matthewelwell changed the base branch from main to release/6.0 March 23, 2023 16:11
@matthewelwell matthewelwell force-pushed the 105-provided-default-flags-should-be-used-when-unable-to-establish-connectivity-to-flagsmith-api branch 5 times, most recently from 6bf8ce7 to d8b5991 Compare March 24, 2023 15:02
Copy link
Member

@gagantrivedi gagantrivedi left a comment

Choose a reason for hiding this comment

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

Approved with a query

pom.xml Outdated
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.6.1</version>
<version>7.5</version>
Copy link
Member

Choose a reason for hiding this comment

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

Does that mean we downgraded some external module named testing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I had to do this to get the test runner working in VSCode. Although, I believe I actually need to rebase as that should be fixed here instead: a7df658

@matthewelwell matthewelwell force-pushed the 105-provided-default-flags-should-be-used-when-unable-to-establish-connectivity-to-flagsmith-api branch from d8b5991 to 286f62a Compare March 27, 2023 09:27
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.6.1</version>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was removed as it's a duplicate of this.

@matthewelwell
Copy link
Contributor Author

Tests here should be fixed by #112

…efault-flags-should-be-used-when-unable-to-establish-connectivity-to-flagsmith-api
@matthewelwell matthewelwell merged commit a0b7641 into release/6.0 Mar 28, 2023
@matthewelwell matthewelwell deleted the 105-provided-default-flags-should-be-used-when-unable-to-establish-connectivity-to-flagsmith-api branch March 28, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provided default flags should be used when unable to establish connectivity to Flagsmith API

3 participants