This is an automated email from the ASF dual-hosted git repository.
sarvekshayr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 41b60a2a95d HDDS-15930. Avoid zero-length chunk in
TestContainerOperations (#10833)
41b60a2a95d is described below
commit 41b60a2a95d8b608ef0e2b1f4e5c66de4f7c069c
Author: Chun-Hung Tseng <[email protected]>
AuthorDate: Mon Jul 27 07:35:13 2026 +0200
HDDS-15930. Avoid zero-length chunk in TestContainerOperations (#10833)
---
.../test/java/org/apache/hadoop/hdds/scm/TestContainerOperations.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestContainerOperations.java
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestContainerOperations.java
index 8f46d73e17b..6740a1e0827 100644
---
a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestContainerOperations.java
+++
b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestContainerOperations.java
@@ -97,7 +97,7 @@ void testContainerStateMachineIdempotency() throws Exception {
// call create Container again
BlockID blockID = ContainerTestHelper.getTestBlockID(containerID);
byte[] data =
- RandomStringUtils.secure().next(RandomUtils.secure().randomInt(0,
1024)).getBytes(UTF_8);
+ RandomStringUtils.secure().next(RandomUtils.secure().randomInt(1,
1024)).getBytes(UTF_8);
ContainerProtos.ContainerCommandRequestProto writeChunkRequest =
ContainerTestHelper
.getWriteChunkRequest(container.getPipeline(), blockID,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]