예제 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Before public void setup()
        public virtual void Setup()
        {
            _outputPath = ClusterRule.directory("metrics");
            IDictionary <string, string> config = stringMap(MetricsSettings.NeoEnabled.name(), Settings.TRUE, metricsEnabled.name(), Settings.TRUE, csvEnabled.name(), Settings.TRUE, cypher_min_replan_interval.name(), "0m", csvPath.name(), _outputPath.AbsolutePath, check_point_interval_time.name(), "100ms", graphiteInterval.name(), "1s", OnlineBackupSettings.online_backup_enabled.name(), Settings.FALSE);

            _db = ClusterRule.withSharedConfig(config).withCluster(clusterOfSize(1)).startCluster().Master;
            AddNodes(1);                 // to make sure creation of label and property key tokens do not mess up with assertions in tests
        }