Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-2221

HelpCommandsIntegrationTest.testOfflineHelp fails with ComparisonFailure on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0-incubating
    • None
    • tests
    • Windows

    Description

      org.junit.ComparisonFailure: expected:<NAME[
          alter disk-store
      IS AVAILABLE
          true
      SYNOPSIS
          Alter some options for a region or remove a region in an offline disk store.
      SYNTAX
          alter disk-store --name=value --region=value --disk-dirs=value(,value)* [--compressor(=value)?]
          [--concurrency-level=value] [--enable-statistics=value] [--initial-capacity=value]
          [--load-factor=value] [--lru-action=value] [--lru-algorithm=value] [--lru-limit=value]
          [--off-heap=value] [--remove(=value)?]
      PARAMETERS
          name
              Name of the disk store whose contents will be altered.
              Required: true
          region
              Name/Path of the region in the disk store to alter.
              Required: true
          disk-dirs
              Directories where data for the disk store was previously written.
              Required: true
          compressor
              The fully-qualifed class name of the Compressor to use when compressing region entry
              values. A value of 'none' will remove the Compressor.
              Required: false
              Default (if the parameter is specified without value): none
          concurrency-level
              An estimate of the maximum number of application threads that will concurrently modify a
              region at one time. This attribute does not apply to partitioned regions.
              Required: false
          enable-statistics
              Whether to enable statistics. Valid values are: true and false.
              Required: false
          initial-capacity
              Together with --load-factor, sets the parameters on the underlying
              java.util.ConcurrentHashMap used for storing region entries.
              Required: false
          load-factor
              Together with --initial-capacity, sets the parameters on the underlying
              java.util.ConcurrentHashMap used for storing region entries. This must be a floating point
              number between 0 and 1, inclusive.
              Required: false
          lru-action
              Action to take when evicting entries from the region. Valid values are: none,
              overflow-to-disk and local-destroy.
              Required: false
          lru-algorithm
              Least recently used eviction algorithm.  Valid values are: none, lru-entry-count,
              lru-heap-percentage and lru-memory-size.
              Required: false
          lru-limit
              Number of entries allowed in the region before eviction will occur.
              Required: false
          off-heap
              Whether to use off-heap memory for the region. Valid values are: true and false.
              Required: false
          remove
              Whether to remove the region from the disk store.
              Required: false
              Default (if the parameter is specified without value): true]
              Default (if...> but was:<NAME[
          alter disk-store
      IS AVAILABLE
          true
      SYNOPSIS
          Alter some options for a region or remove a region in an offline disk store.
      SYNTAX
          alter disk-store --name=value --region=value --disk-dirs=value(,value)* [--compressor(=value)?]
          [--concurrency-level=value] [--enable-statistics=value] [--initial-capacity=value]
          [--load-factor=value] [--lru-action=value] [--lru-algorithm=value] [--lru-limit=value]
          [--off-heap=value] [--remove(=value)?]
      PARAMETERS
          name
              Name of the disk store whose contents will be altered.
              Required: true
          region
              Name/Path of the region in the disk store to alter.
              Required: true
          disk-dirs
              Directories where data for the disk store was previously written.
              Required: true
          compressor
              The fully-qualifed class name of the Compressor to use when compressing region entry
              values. A value of 'none' will remove the Compressor.
              Required: false
              Default (if the parameter is specified without value): none
          concurrency-level
              An estimate of the maximum number of application threads that will concurrently modify a
              region at one time. This attribute does not apply to partitioned regions.
              Required: false
          enable-statistics
              Whether to enable statistics. Valid values are: true and false.
              Required: false
          initial-capacity
              Together with --load-factor, sets the parameters on the underlying
              java.util.ConcurrentHashMap used for storing region entries.
              Required: false
          load-factor
              Together with --initial-capacity, sets the parameters on the underlying
              java.util.ConcurrentHashMap used for storing region entries. This must be a floating point
              number between 0 and 1, inclusive.
              Required: false
          lru-action
              Action to take when evicting entries from the region. Valid values are: none,
              overflow-to-disk and local-destroy.
              Required: false
          lru-algorithm
              Least recently used eviction algorithm.  Valid values are: none, lru-entry-count,
              lru-heap-percentage and lru-memory-size.
              Required: false
          lru-limit
              Number of entries allowed in the region before eviction will occur.
              Required: false
          off-heap
              Whether to use off-heap memory for the region. Valid values are: true and false.
              Required: false
          remove
              Whether to remove the region from the disk store.
              Required: false
              Default (if the parameter is specified without value): true
      ]
              Default (if...>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.apache.geode.management.internal.cli.commands.HelpCommandsIntegrationTest.testOfflineHelp(HelpCommandsIntegrationTest.java:99)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:114)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)
      	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
      	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
      	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:377)
      	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      testOnlineHelp
      
      org.junit.ComparisonFailure: expected:<NAME[
          alter disk-store
      IS AVAILABLE]
          true> but was:<NAME[
          alter disk-store
      IS AVAILABLE
      ]
          true>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.apache.geode.management.internal.cli.commands.HelpCommandsIntegrationTest.testOnlineHelp(HelpCommandsIntegrationTest.java:134)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
      	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:114)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:57)
      	at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:66)
      	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
      	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      	at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
      	at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:377)
      	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      	at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            klund Kirk Lund
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: