File tree Expand file tree Collapse file tree
terraphim_rlm/src/executor
terraphim_settings/test_settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -486,8 +486,8 @@ impl super::ExecutionEnvironment for MockExecutor {
486486
487487#[ cfg( test) ]
488488mod tests {
489- use super :: * ;
490489 use super :: super :: ExecutionEnvironment ;
490+ use super :: * ;
491491
492492 #[ tokio:: test]
493493 async fn test_mock_executor_health_check ( ) {
@@ -578,7 +578,8 @@ mod tests {
578578 // Don't initialize
579579
580580 let ctx = ExecutionContext :: default ( ) ;
581- let result: Result < ExecutionResult , RlmError > = executor. execute_code ( "print('test')" , & ctx) . await ;
581+ let result: Result < ExecutionResult , RlmError > =
582+ executor. execute_code ( "print('test')" , & ctx) . await ;
582583
583584 assert ! ( result. is_err( ) ) ;
584585 assert ! ( matches!(
Original file line number Diff line number Diff line change @@ -2,23 +2,22 @@ server_hostname = '127.0.0.1:8000'
22api_endpoint = ' http://localhost:8000/api'
33initialized = true
44default_data_path = ' /tmp/terraphim_test'
5+ [profiles .sled ]
6+ datadir = ' /tmp/opendal/sled'
7+ type = ' sled'
58
69[profiles .dash ]
7- type = ' dashmap'
810root = ' /tmp/dashmaptest'
9-
10- [profiles .rock ]
11- type = ' rocksdb'
12- datadir = ' /tmp/opendal/rocksdb'
11+ type = ' dashmap'
1312
1413[profiles .s3 ]
14+ endpoint = ' http://rpi4node3:8333/'
15+ region = ' us-west-1'
1516type = ' s3'
1617bucket = ' test'
1718access_key_id = ' test_key'
1819secret_access_key = ' test_secret'
19- endpoint = ' http://rpi4node3:8333/'
20- region = ' us-west-1'
2120
22- [profiles .sled ]
23- type = ' sled '
24- datadir = ' /tmp/opendal/sled '
21+ [profiles .rock ]
22+ type = ' rocksdb '
23+ datadir = ' /tmp/opendal/rocksdb '
You can’t perform that action at this time.
0 commit comments