geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sai_boorlaga...@apache.org
Subject [geode] 01/02: Added WindowsGfshDistributionTest
Date Wed, 25 Jul 2018 00:44:41 GMT
This is an automated email from the ASF dual-hosted git repository.

sai_boorlagadda pushed a commit to branch feature/GEODE-5212
in repository https://gitbox.apache.org/repos/asf/geode.git

commit f44738993550875685c0ca9c66af5d1540fd9e0d
Author: Sai Boorlagadda <sboorlagadda@pivotal.io>
AuthorDate: Thu Jul 19 14:41:52 2018 -0700

    Added WindowsGfshDistributionTest
---
 ci/pipelines/geode-build/win.yml | 79 ++++++++++++++++++++++++++++++++++++++++
 gradle/test.gradle               |  9 +++++
 2 files changed, 88 insertions(+)

diff --git a/ci/pipelines/geode-build/win.yml b/ci/pipelines/geode-build/win.yml
index de2795c..9ba9f38 100644
--- a/ci/pipelines/geode-build/win.yml
+++ b/ci/pipelines/geode-build/win.yml
@@ -39,6 +39,14 @@ resources:
     branch: feature/GEODE-5212
     paths:
     - ci/*
+- name: geode-ci-dunit
+  type: git
+  source:
+    depth: 1
+    uri: (( concat "https://github.com/" metadata.geode-fork "/geode.git" ))
+    branch: feature/GEODE-5212-specific-category
+    paths:
+    - ci/*
 - name: geode-build-version
   type: semver
   source:
@@ -187,3 +195,74 @@ jobs:
                 - geode-ci/ci/scripts/test-archive.sh
                 - integrationTest
                 - windows-integrationtestfiles
+
+- name: WindowsGfshDistributedTest
+  serial: true
+  public: true
+  plan:
+    - aggregate:
+      - get: geode
+        trigger: true
+      - get: geode-ci-dunit
+      - get: geode-build-version
+    - task: cleanup-java-processes
+      tags: [windows-distributed-tests]
+      config:
+        platform: windows
+        run:
+          path: powershell
+          args:
+          - -command
+          - |
+            gwmi win32_process -filter 'name = "java.exe"' | select commandline | format-list
+            kill -name java -force
+            exit 0
+    - task: run-gfsh-distributed-test
+      tags: [windows-distributed-tests]
+      privileged: true
+      timeout: 8h
+      config:
+        inputs:
+          - name: geode
+          - name: geode-ci-dunit
+          - name: geode-build-version
+        platform: windows
+        outputs:
+          - name: built-geode
+        params:
+          DUNIT_PARALLEL_FORKS: 0
+          MAINTENANCE_VERSION: develop
+          PARALLEL_DUNIT: false
+          SERVICE_ACCOUNT: ((!concourse-gcp-account))
+          PUBLIC_BUCKET: ((!public-bucket))
+          CALL_STACK_TIMEOUT: 25200
+          JAVA_HOME: "C:\\progra~1\\java\\jdk1.8.0_181"
+        run:
+          path: bash
+          args:
+          - geode-ci-dunit/ci/scripts/test-run.sh
+          - distributedTest
+          - windows-gfshdistributedtest
+          - org.apache.geode.test.junit.categories.GfshTest
+      ensure:
+        aggregate:
+        - task: archive-results-core
+          tags: [windows-distributed-tests]
+          config:
+            inputs:
+              - name: geode
+              - name: geode-ci-dunit
+              - name: geode-build-version
+              - name: built-geode
+            platform: windows
+            params:
+              MAINTENANCE_VERSION: (( grab metadata.geode-build-branch ))
+              SERVICE_ACCOUNT: ((!concourse-gcp-account))
+              PUBLIC_BUCKET: ((!public-bucket))
+              JAVA_HOME: "C:\\progra~1\\java\\jdk1.8.0_181"
+            run:
+              path: bash
+              args:
+              - geode-ci-dunit/ci/scripts/test-archive.sh
+              - distributedTest
+              - windows-gfshdistributedtest
\ No newline at end of file
diff --git a/gradle/test.gradle b/gradle/test.gradle
index 18ce11b..987229a 100644
--- a/gradle/test.gradle
+++ b/gradle/test.gradle
@@ -133,6 +133,15 @@ subprojects {
     outputs.upToDateWhen{false}
   }
 
+  task gfshDistributedTest(type:Test) {
+    useJUnit {
+      includeCategories 'org.apache.geode.test.junit.categories.GfshTest'
+      excludeCategories 'org.apache.geode.test.junit.categories.FlakyTest'
+    }
+    forkEvery 1
+    outputs.upToDateWhen{false}
+  }
+
   task flakyTest(type:Test) {
     useJUnit {
       includeCategories 'org.apache.geode.test.junit.categories.FlakyTest'


Mime
View raw message