Skip to content

Commit

Permalink
Remove SerializationConstants.VALIDATE_CONFIGURED_TARGET_VALUE, since…
Browse files Browse the repository at this point in the history
… ConfiguredTargetValue is no longer prohibitively slow.

PiperOrigin-RevId: 200640971
  • Loading branch information
calpeyser authored and Copybara-Service committed Jun 14, 2018
1 parent 39d6f89 commit 522f76a
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ public class SerializationConstants {
/** Number of threads in deserialization pools. */
public static final int DESERIALIZATION_POOL_SIZE = 2 * ResourceUsage.getAvailableProcessors();

/**
* If true, we attempt to to serialize ConfiguredTargetValue in testing.
*/
public static final boolean VALIDATE_CONFIGURED_TARGET_VALUE =
System.getenv("DONT_VALIDATE_CONFIGURED_TARGET_VALUE") == null;

private static final boolean IN_TEST = System.getenv("TEST_TMPDIR") != null;
private static final boolean CHECK_SERIALIZATION =
System.getenv("DONT_SANITY_CHECK_SERIALIZATION") == null;
Expand Down

0 comments on commit 522f76a

Please sign in to comment.