We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 326fe75 commit e528b41Copy full SHA for e528b41
x-pack/plugin/core/src/test/java/org/elasticsearch/license/LicenseServiceTests.java
@@ -6,7 +6,6 @@
6
package org.elasticsearch.license;
7
8
9
-import org.elasticsearch.bootstrap.JavaVersion;
10
import org.elasticsearch.test.ESTestCase;
11
12
import java.time.LocalDate;
@@ -22,8 +21,6 @@
22
21
public class LicenseServiceTests extends ESTestCase {
23
24
public void testLogExpirationWarning() {
25
- assumeTrue("this is for JDK8 only", JavaVersion.current().equals(JavaVersion.parse("8")));
26
-
27
long time = LocalDate.of(2018, 11, 15).atStartOfDay(ZoneOffset.UTC).toInstant().toEpochMilli();
28
final boolean expired = randomBoolean();
29
final String message = LicenseService.buildExpirationMessage(time, expired).toString();
0 commit comments