Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14107

EJBInvocationStatistics TestCase Failures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 23.0.0.Beta1
    • None
    • EJB, Test Suite
    • None

      I have been seeing test failures running this test locally quite often:

      [ERROR] Failures: 
      [ERROR]   EjbInvocationStatisticsTestCase.testSingletonWaitTime:147->validateWaitTimeStatistic:175 Expecting wait-time attribute value > 0, but got {
          "async-methods" => undefined,
          "business-local" => undefined,
          "business-remote" => ["org.jboss.as.test.integration.ejb.management.deployments.BusinessInterface"],
          "component-class-name" => "org.jboss.as.test.integration.ejb.management.deployments.WaitTimeSingletonBean",
          "concurrency-management-type" => undefined,
          "declared-roles" => [],
          "depends-on" => undefined,
          "execution-time" => 2L,
          "init-on-startup" => false,
          "invocations" => 4L,
          "jndi-names" => [
              "java:app/ejb-management/WaitTimeSingletonBean!org.jboss.as.test.integration.ejb.management.deployments.BusinessInterface",
              "java:module/WaitTimeSingletonBean!org.jboss.as.test.integration.ejb.management.deployments.BusinessInterface",
              "java:global/ejb-management/WaitTimeSingletonBean",
              "java:app/ejb-management/WaitTimeSingletonBean",
              "java:global/ejb-management/WaitTimeSingletonBean!org.jboss.as.test.integration.ejb.management.deployments.BusinessInterface",
              "java:module/WaitTimeSingletonBean"
          ],
          "methods" => {
              "doIt" => {
                  "execution-time" => 2L,
                  "invocations" => 3L,
                  "wait-time" => 0L
              },
              "remove" => {
                  "execution-time" => 0L,
                  "invocations" => 1L,
                  "wait-time" => 0L
              }
          },
          "peak-concurrent-invocations" => 1L,
          "run-as-role" => undefined,
          "security-domain" => "other",
          "timeout-method" => "private void org.jboss.as.test.integration.ejb.management.deployments.WaitTimeSingletonBean.timeout(javax.ejb.Timer)",
          "timers" => [],
          "transaction-type" => "BEAN",
          "wait-time" => 0L,
          "service" => {"timer-service" => undefined}
      } 

      My desktop PC is quite fast so I don't know if this means invocations are passing faster than the test expects.

       

       

            cfang@redhat.com Cheng Fang
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: