client-test: always set source type, also for sync case
An incomplete source config might already exist. Better set the source type in all cases, to ensure that we really run with the right backend and data format.
This commit is contained in:
parent
2318082ca1
commit
04fd248bf7
|
@ -260,7 +260,6 @@ public:
|
|||
boost::shared_ptr<SyncSourceConfig> scServerTemplate = from->getSyncSourceConfig(testconfig.sourceNameServerTemplate);
|
||||
sc->setURI(scServerTemplate->getURI());
|
||||
}
|
||||
sc->setSourceType(SourceType(testconfig.type));
|
||||
}
|
||||
|
||||
// always set these properties: they might have changed since the last run
|
||||
|
@ -268,6 +267,7 @@ public:
|
|||
sc->setDatabaseID(database);
|
||||
sc->setUser(m_evoUser);
|
||||
sc->setPassword(m_evoPassword);
|
||||
sc->setSourceType(SourceType(testconfig.type));
|
||||
}
|
||||
config->flush();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue