mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
Don't create 'test' file in model dir
This commit is contained in:
parent
928198bbfe
commit
3b512676b7
@ -266,7 +266,7 @@ func TestNodeRename(t *testing.T) {
|
|||||||
ClientVersion: "v0.9.4",
|
ClientVersion: "v0.9.4",
|
||||||
}
|
}
|
||||||
|
|
||||||
cfg := config.New("test", node1)
|
cfg := config.New("/tmp/test", node1)
|
||||||
cfg.Nodes = []config.NodeConfiguration{
|
cfg.Nodes = []config.NodeConfiguration{
|
||||||
{
|
{
|
||||||
NodeID: node1,
|
NodeID: node1,
|
||||||
@ -303,7 +303,7 @@ func TestNodeRename(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestClusterConfig(t *testing.T) {
|
func TestClusterConfig(t *testing.T) {
|
||||||
cfg := config.New("test", node1)
|
cfg := config.New("/tmp/test", node1)
|
||||||
cfg.Nodes = []config.NodeConfiguration{
|
cfg.Nodes = []config.NodeConfiguration{
|
||||||
{
|
{
|
||||||
NodeID: node1,
|
NodeID: node1,
|
||||||
|
Loading…
Reference in New Issue
Block a user