Fixing test paths
This commit is contained in:
parent
07551151da
commit
cfffe36fb2
6 changed files with 6 additions and 6 deletions
|
@ -5,7 +5,7 @@
|
||||||
},
|
},
|
||||||
"Datastore": {
|
"Datastore": {
|
||||||
"Type": "lmdb",
|
"Type": "lmdb",
|
||||||
"Path": "/tmp/ipfs_1/datastore",
|
"Path": "/tmp/ipfs_1/.ipfs/datastore",
|
||||||
"StorageMax": "10GB",
|
"StorageMax": "10GB",
|
||||||
"StorageGCWatermark": 90,
|
"StorageGCWatermark": 90,
|
||||||
"GCPeriod": "1h",
|
"GCPeriod": "1h",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
},
|
},
|
||||||
"Datastore": {
|
"Datastore": {
|
||||||
"Type": "lmdb",
|
"Type": "lmdb",
|
||||||
"Path": "/tmp/ipfs_2/datastore",
|
"Path": "/tmp/ipfs_2/.ipfs/datastore",
|
||||||
"StorageMax": "10GB",
|
"StorageMax": "10GB",
|
||||||
"StorageGCWatermark": 90,
|
"StorageGCWatermark": 90,
|
||||||
"GCPeriod": "1h",
|
"GCPeriod": "1h",
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include "ipfs/importer/importer.h"
|
#include "ipfs/importer/importer.h"
|
||||||
|
|
||||||
int test_core_api_startup_shutdown() {
|
int test_core_api_startup_shutdown() {
|
||||||
char* repo_path = "/tmp/ipfs_1";
|
char* repo_path = "/tmp/ipfs_1/.ipfs";
|
||||||
char* peer_id = NULL;
|
char* peer_id = NULL;
|
||||||
int retVal = 0;
|
int retVal = 0;
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ int test_journal_server_1() {
|
||||||
int retVal = 0;
|
int retVal = 0;
|
||||||
pthread_t daemon_thread;
|
pthread_t daemon_thread;
|
||||||
int thread_started = 0;
|
int thread_started = 0;
|
||||||
char* ipfs_path = "/tmp/ipfs_1";
|
char* ipfs_path = "/tmp/ipfs_1/.ipfs";
|
||||||
char* config_file = "config.test1";
|
char* config_file = "config.test1";
|
||||||
struct FSRepo* fs_repo = NULL;
|
struct FSRepo* fs_repo = NULL;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ int test_namesys_publisher_publish() {
|
||||||
struct IpfsNode* local_node = NULL;
|
struct IpfsNode* local_node = NULL;
|
||||||
struct Cid* cid = NULL;
|
struct Cid* cid = NULL;
|
||||||
char* hash_text = "QmZtAEqmnXMZkwVPKdyMGxUoo35cQMzNhmq6CN3DvgRwAD";
|
char* hash_text = "QmZtAEqmnXMZkwVPKdyMGxUoo35cQMzNhmq6CN3DvgRwAD";
|
||||||
char* repo_path = "/tmp/ipfs_1";
|
char* repo_path = "/tmp/ipfs_1/.ipfs";
|
||||||
|
|
||||||
// get a local node
|
// get a local node
|
||||||
if (!ipfs_node_offline_new(repo_path, &local_node)) {
|
if (!ipfs_node_offline_new(repo_path, &local_node)) {
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
*/
|
*/
|
||||||
int test_routing_put_value() {
|
int test_routing_put_value() {
|
||||||
int retVal = 0;
|
int retVal = 0;
|
||||||
char* ipfs_path_publisher = "/tmp/ipfs_1";
|
char* ipfs_path_publisher = "/tmp/ipfs_1/.ipfs";
|
||||||
char* peer_id_publisher = NULL;
|
char* peer_id_publisher = NULL;
|
||||||
struct MultiAddress* ma_publisher = NULL;
|
struct MultiAddress* ma_publisher = NULL;
|
||||||
pthread_t thread_publisher;
|
pthread_t thread_publisher;
|
||||||
|
|
Loading…
Reference in a new issue