diff --git a/asterix-app/src/test/java/edu/uci/ics/asterix/test/metadata/MetadataTest.java b/asterix-app/src/test/java/edu/uci/ics/asterix/test/metadata/MetadataTest.java
index f68f712..369d1a8 100644
--- a/asterix-app/src/test/java/edu/uci/ics/asterix/test/metadata/MetadataTest.java
+++ b/asterix-app/src/test/java/edu/uci/ics/asterix/test/metadata/MetadataTest.java
@@ -160,8 +160,6 @@
         // Read the response body as String.
         String responseBody = method.getResponseBodyAsString();
 
-        System.out.println("DDL: " + responseBody);
-
         // Check if the method was executed successfully.
         if (statusCode != HttpStatus.SC_OK) {
             System.err.println("Method failed: " + method.getStatusLine());
@@ -190,8 +188,6 @@
         // Read the response body as String.
         String responseBody = method.getResponseBodyAsString();
 
-        System.out.println("Update: " + responseBody);
-
         // Check if the method was executed successfully.
         if (statusCode != HttpStatus.SC_OK) {
             System.err.println("Method failed: " + method.getStatusLine());
@@ -228,8 +224,6 @@
             // Read the response body as String.
             String responseBody = method.getResponseBodyAsString();
 
-            System.out.println(responseBody);
-
             result = new JSONObject(responseBody);
         } catch (Exception e) {
             System.out.println(e.getMessage());
