Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Update to 7.9.0 #1781

Merged
merged 3 commits into from
Feb 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions e2e-saas/mocha-all.opts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--timeout 120000
--reporter 'node_modules/e2e/dist/driver/CheReporter.js'
-u tdd
--spec ./dist/tests/login/Login.spec.js
--spec ./node_modules/e2e/dist/tests/devfiles/JavaVertx.spec.js
--spec ./node_modules/e2e/dist/tests/devfiles/JavaMaven.spec.js
--spec ./dist/tests/login/Login.spec
--spec ./dist/tests/devfiles/JavaMaven.spec
--spec ./node_modules/e2e/dist/tests/devfiles/JavaVertx.spec
45 changes: 45 additions & 0 deletions e2e-saas/tests/devfiles/JavaMaven.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*********************************************************************
* Copyright (c) 2019 Red Hat, Inc.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
import 'reflect-metadata';
import { NameGenerator} from 'e2e';
import * as testLibrary from 'e2e';

const workspaceName: string = NameGenerator.generate('wksp-test-', 5);
const sampleName: string = 'console-java-simple';
const fileFolderPath: string = `${sampleName}/src/main/java/org/eclipse/che/examples`;
const tabTitle: string = 'HelloWorld.java';
const codeNavigationClassName: string = 'String.class';
const stack : string = 'Java Maven';
const taskName: string = 'maven build';

suite(`${stack} test`, async () => {
suite (`Create ${stack} workspace ${workspaceName}`, async () => {
testLibrary.createAndOpenWorkspace(workspaceName, stack);
testLibrary.waitWorkspaceReadiness(workspaceName, sampleName, 'src');
});

suite('Validation of workspace build and run', async () => {
testLibrary.runTask(taskName, 120_000);
testLibrary.closeTerminal(taskName);
});

suite('Language server validation', async () => {
testLibrary.openFile(fileFolderPath, tabTitle);
testLibrary.suggestionInvoking(tabTitle, 10, 20, 'append(char c) : PrintStream');
testLibrary.errorHighlighting(tabTitle, 'erroneous_text', 11);
testLibrary.autocomplete(tabTitle, 10, 11, 'System - java.lang');
testLibrary.codeNavigation(tabTitle, 9, 10, codeNavigationClassName);
});

suite ('Stop and remove workspace', async() => {
testLibrary.stopWorkspace(workspaceName);
testLibrary.removeWorkspace(workspaceName);
});
});
1 change: 1 addition & 0 deletions openshift/rh-che.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ data:
CHE_INFRA_KUBERNETES_PVC_PRECREATE__SUBPATHS: "true"
CHE_INFRA_OPENSHIFT_TLS__ENABLED: "true"
JAVA_OPTS: "-XX:MaxRAMFraction=2 -XX:+UseParallelGC -XX:MinHeapFreeRatio=25 -XX:MaxHeapFreeRatio=40 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -Xms50m -Dfile.encoding=UTF8 -Djava.net.preferIPv4Stack=true"
CHE_SERVER_SECURE__EXPOSER_JWTPROXY_IMAGE: "quay.io/eclipse/che-jwtproxy:32eda93"
CHE_SYSTEM_ADMIN__NAME: "admin"
CHE_SYSTEM_SUPER__PRIVILEGED__MODE: "true"
CHE_WEBSOCKET_ENDPOINT: "wss://che.prod-preview.openshift.io/api/websocket"
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parent>
<artifactId>che-parent</artifactId>
<groupId>org.eclipse.che</groupId>
<version>7.8.0</version>
<version>7.9.0</version>
</parent>
<groupId>com.redhat.che</groupId>
<artifactId>fabric8-ide-parent</artifactId>
Expand All @@ -31,7 +31,7 @@
<module>functional-tests</module>
</modules>
<properties>
<che.version>7.8.0</che.version>
<che.version>7.9.0</che.version>
<keycloak.version>2.5.0.Final</keycloak.version>
<redhat.che.version>1.0.0-SNAPSHOT</redhat.che.version>
<rh.che.plugins.version>1.0.0-SNAPSHOT</rh.che.plugins.version>
Expand Down