1
0
mirror of https://github.com/google/nomulus synced 2026-01-09 15:43:52 +00:00

Disable flaky tests temporarily (#2106)

This commit is contained in:
Lai Jiang
2023-08-15 13:59:56 -04:00
committed by GitHub
parent c6f62dcffd
commit ee7c8fb018
2 changed files with 6 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ import org.joda.money.Money;
import org.joda.time.DateTime;
import org.joda.time.Duration;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/** Unit tests for {@link Tld}. */
@@ -135,6 +136,8 @@ public final class TldTest extends EntityTestCase {
assertThat(yaml).isEqualTo(loadFile(getClass(), "tld.yaml"));
}
// TODO (sarahbot): re-enable this test after we figure out why it fails in presubmits.
@Disabled
@Test
void testYamlToTld() throws Exception {
fakeClock.setTo(START_OF_TIME);

View File

@@ -20,11 +20,14 @@ import static google.registry.testing.TestDataHelper.loadFile;
import static org.junit.jupiter.api.Assertions.assertThrows;
import com.beust.jcommander.ParameterException;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
/** Unit tests for {@link GetTldCommand}. */
class GetTldCommandTest extends CommandTestCase<GetTldCommand> {
// TODO (sarahbot): re-enable this test after we figure out why it fails during RC build.
@Disabled
@Test
void testSuccess() throws Exception {
createTld("xn--q9jyb4c");