You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2021/12/15 22:02:57 UTC

[accumulo] branch main updated: fix format specification from commit 6ab8d076c5 (#2390)

This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/main by this push:
     new 5987955  fix format specification from commit 6ab8d076c5 (#2390)
5987955 is described below

commit 59879556866021518ba4a3633cbb07dc6fa9efd9
Author: EdColeman <de...@etcoleman.com>
AuthorDate: Wed Dec 15 17:02:48 2021 -0500

    fix format specification from commit 6ab8d076c5 (#2390)
    
    Co-authored-by: Ed Coleman etcoleman <ed...@apache.org>
---
 .../main/java/org/apache/accumulo/harness/SharedMiniClusterBase.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/src/main/java/org/apache/accumulo/harness/SharedMiniClusterBase.java b/test/src/main/java/org/apache/accumulo/harness/SharedMiniClusterBase.java
index f453d04..ebd5533 100644
--- a/test/src/main/java/org/apache/accumulo/harness/SharedMiniClusterBase.java
+++ b/test/src/main/java/org/apache/accumulo/harness/SharedMiniClusterBase.java
@@ -124,7 +124,7 @@ public abstract class SharedMiniClusterBase extends AccumuloITBase implements Cl
     Optional<String> callerClassName =
         StackWalker.getInstance(RETAIN_CLASS_REFERENCE).walk(findCallerITClass).map(Class::getName);
     // use the calling class name, or default to a unique name if IT class can't be found
-    return callerClassName.orElse(String.format("UnknownITClass-%d-%s", System.currentTimeMillis(),
+    return callerClassName.orElse(String.format("UnknownITClass-%d-%d", System.currentTimeMillis(),
         random.nextInt(Short.MAX_VALUE)));
   }