lewismc commented on a change in pull request #179: GORA-532: Apache Gora 
Benchmark initial pull request for review and comments
URL: https://github.com/apache/gora/pull/179#discussion_r310846964
 
 

 ##########
 File path: 
gora-benchmark/src/test/java/org/apache/gora/benchmark/GoraClientTest.java
 ##########
 @@ -0,0 +1,201 @@
+package org.apache.gora.benchmark;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Properties;
+import java.util.Set;
+import java.util.Vector;
+
+import org.apache.gora.util.GoraException;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Ignore;
+import org.junit.Test;
+
+import com.yahoo.ycsb.ByteIterator;
+import com.yahoo.ycsb.StringByteIterator;
+import com.yahoo.ycsb.workloads.CoreWorkload;
+
+import generated.User;
+
+// TODO: Auto-generated Javadoc
+/**
+ * The Class GoraClientTest.
+ */
+public class GoraClientTest {
+  
+
+  /** The Constant TABLE. */
+  private static final String TABLE = "users";
+  
+  /** The client. */
+  private GoraBenchmarkClient client;
+  
+  /** The data to insert. */
+  private static HashMap<String, ByteIterator> DATA_TO_INSERT;
+  
+  /** The data to update. */
+  private static HashMap<String, ByteIterator> DATA_TO_UPDATE;
+  
+  /** The data stores. */
+  private static List<String> dataStores = new ArrayList<String>();
+  
+  /** The Constant NUMBER_OF_FIELDS. */
+  private static final int NUMBER_OF_FIELDS = 10;
+  
+  /** The bmutils. */
+  private GoraBenchmarkUtils bmutils = new GoraBenchmarkUtils();
+  
+  /**
+   * Sets the up.
+   *
+   * @throws Exception the exception
+   */
+  //Setup is executed before each test. Use @BeforeClass if you want to 
execute a code block just once.
+  @Before
+  public void setUp() throws Exception {
+    //dataStores.add("mongodb");
+    //dataStores.add("hbase");
+    //bmutils.generateAvroSchema(NUMBER_OF_FIELDS);
+    //for(String dataStore: dataStores) {
 
 Review comment:
   Remove all commented-out code

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to