You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by al...@apache.org on 2017/03/07 21:42:27 UTC

nifi git commit: NIFI-3483 - fixed one unit test relying on locale

Repository: nifi
Updated Branches:
  refs/heads/master 70175816b -> 01979aebe


NIFI-3483 - fixed one unit test relying on locale

This closes #1566.

Signed-off-by: Aldrin Piri <al...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/01979aeb
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/01979aeb
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/01979aeb

Branch: refs/heads/master
Commit: 01979aebec15dae755538e6c9b99ee952dfe523c
Parents: 7017581
Author: Pierre Villard <pi...@gmail.com>
Authored: Mon Mar 6 20:46:40 2017 +0100
Committer: Aldrin Piri <al...@apache.org>
Committed: Tue Mar 7 16:41:45 2017 -0500

----------------------------------------------------------------------
 .../coordination/http/StandardHttpResponseMapperSpec.groovy        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/01979aeb/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/test/java/org/apache/nifi/cluster/coordination/http/StandardHttpResponseMapperSpec.groovy
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/test/java/org/apache/nifi/cluster/coordination/http/StandardHttpResponseMapperSpec.groovy b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/test/java/org/apache/nifi/cluster/coordination/http/StandardHttpResponseMapperSpec.groovy
index 243fd1a..5075f7b 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/test/java/org/apache/nifi/cluster/coordination/http/StandardHttpResponseMapperSpec.groovy
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/test/java/org/apache/nifi/cluster/coordination/http/StandardHttpResponseMapperSpec.groovy
@@ -176,7 +176,7 @@ class StandardHttpResponseMapperSpec extends Specification {
                 // expectedEntity
                 new ConnectionEntity(id: '1', permissions: new PermissionsDTO(canRead: false, canWrite: false),
                         status: new ConnectionStatusDTO(aggregateSnapshot: new ConnectionStatusSnapshotDTO(bytesIn: 1000,
-                                input: '0 (1,000 bytes)', output: '0 (0 bytes)', queued: '0 (0 bytes)', queuedSize: '0 bytes', queuedCount: 0)))
+                                input: "0 (${NumberFormat.instance.format(1000)} bytes)", output: '0 (0 bytes)', queued: '0 (0 bytes)', queuedSize: '0 bytes', queuedCount: 0)))
         "nifi-api/process-groups/${UUID.randomUUID()}/labels" | 'get'      | [
                 new LabelsEntity(labels: [new LabelEntity(id: '1', permissions: new PermissionsDTO(canRead: true, canWrite: true), component: new LabelDTO())] as Set),
                 new LabelsEntity(labels: [new LabelEntity(id: '1', permissions: new PermissionsDTO(canRead: false, canWrite: false))] as Set),