From 89e913fc64513d3f08c2e42de235618e6d63ff2b Mon Sep 17 00:00:00 2001 From: Tanner Lewis Date: Wed, 13 Sep 2023 14:00:43 -0400 Subject: [PATCH] Minor fixes for release branch, no TC pipe and jumbled value for test Signed-off-by: Tanner Lewis --- .../StreamChannelConnectionCaptureSerializerTest.java | 2 +- deployment/copilot/devDeploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TrafficCapture/captureOffloader/src/test/java/org/opensearch/migrations/trafficcapture/StreamChannelConnectionCaptureSerializerTest.java b/TrafficCapture/captureOffloader/src/test/java/org/opensearch/migrations/trafficcapture/StreamChannelConnectionCaptureSerializerTest.java index d3fb20060..477d691fa 100644 --- a/TrafficCapture/captureOffloader/src/test/java/org/opensearch/migrations/trafficcapture/StreamChannelConnectionCaptureSerializerTest.java +++ b/TrafficCapture/captureOffloader/src/test/java/org/opensearch/migrations/trafficcapture/StreamChannelConnectionCaptureSerializerTest.java @@ -190,7 +190,7 @@ public void testEmptyPacketIsHandledForSmallCodedOutputStream() var outputBuffersCreated = new ConcurrentLinkedQueue(); // Arbitrarily picking small buffer size that can only hold one empty message var serializer = createSerializerWithTestHandler(outputBuffersCreated, - TEST_NODE_ID_STRING.length() + 60); + TEST_NODE_ID_STRING.length() + 40); var bb = Unpooled.buffer(0); serializer.addWriteEvent(referenceTimestamp, bb); serializer.addWriteEvent(referenceTimestamp, bb); diff --git a/deployment/copilot/devDeploy.sh b/deployment/copilot/devDeploy.sh index 608634330..5b1b41d62 100755 --- a/deployment/copilot/devDeploy.sh +++ b/deployment/copilot/devDeploy.sh @@ -181,7 +181,7 @@ copilot env deploy -a $COPILOT_APP_NAME --name $COPILOT_DEPLOYMENT_STAGE # copilot svc deploy -a $COPILOT_APP_NAME --name traffic-comparator --env $COPILOT_DEPLOYMENT_STAGE --resource-tags $TAGS # EXPERIMENTAL copilot svc deploy -a $COPILOT_APP_NAME --name capture-proxy-es --env $COPILOT_DEPLOYMENT_STAGE --resource-tags $TAGS copilot svc deploy -a $COPILOT_APP_NAME --name migration-console --env $COPILOT_DEPLOYMENT_STAGE --resource-tags $TAGS -./createReplayer.sh --id default --target-uri "https://${MIGRATION_DOMAIN_ENDPOINT}:443" --extra-args "--tags=${TAGS} --auth-header-user-and-secret ${MIGRATION_DOMAIN_USER_AND_SECRET_ARN} | nc traffic-comparator 9220" "${REPLAYER_SKIP_INIT_ARG}" +./createReplayer.sh --id default --target-uri "https://${MIGRATION_DOMAIN_ENDPOINT}:443" --extra-args "--tags=${TAGS} --auth-header-user-and-secret ${MIGRATION_DOMAIN_USER_AND_SECRET_ARN}" "${REPLAYER_SKIP_INIT_ARG}" # Output deployment time