fixed test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/private/luca.frosini/GenerateMapReduceCouchbase@154958 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7678691a18
commit
07c0a68cec
|
@ -22,9 +22,10 @@ import com.couchbase.client.java.view.View;
|
|||
|
||||
public class dbtest {
|
||||
|
||||
protected static final String DB = "StorageUsageRecord";
|
||||
protected static final String DB = "JobUsageRecord";
|
||||
protected static final String USAGE_RECORD_TYPE = "JobUsageRecord";
|
||||
|
||||
protected static final String URL = "http://couchbase02-d-d4s.d4science.org";
|
||||
protected static final String URL = "http://couchbase01-d-d4s.d4science.org";
|
||||
protected static final String PASSWORD = "accounting";
|
||||
|
||||
/* The environment configuration */
|
||||
|
@ -47,7 +48,7 @@ public class dbtest {
|
|||
File resourcesDirectory = new File(mainDirectory, "resources");
|
||||
File mapReduceDirectory = new File(resourcesDirectory, "MapReduce");
|
||||
|
||||
File file = new File(mapReduceDirectory, "StorageUsageRecord");
|
||||
File file = new File(mapReduceDirectory, USAGE_RECORD_TYPE);
|
||||
|
||||
File[] filesInDir = file.listFiles();
|
||||
Arrays.sort(filesInDir);
|
||||
|
@ -91,7 +92,7 @@ public class dbtest {
|
|||
File mainDirectory = new File(srcDirectory, "main");
|
||||
File resourcesDirectory = new File(mainDirectory, "resources");
|
||||
File mapReduceDirectory = new File(resourcesDirectory, "MapReduce");
|
||||
File file = new File(mapReduceDirectory, "extraStorage");
|
||||
File file = new File(mapReduceDirectory, "extra" + USAGE_RECORD_TYPE);
|
||||
|
||||
Map<String, List<View>> views = new HashMap<String, List<View>>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue