0
我一直在我的測試環境中使用titan-cassandra storage.backend = cassandra,最近得知我可以簡單地在storage.backend = inmemory中進行測試,以測試in - 記憶圖。由於這將大大提高數百個測試的速度 - 這聽起來不錯。但是,對我其他簡單的測試配置進行這種更改會導致許多一次通過的測試失敗。下面是我的配置:Titan storage.backend = inmemory導致不兼容的數據類型異常
storage.backend=inmemory
storage.hostname=localhost
storage.cassandra.keyspace=test
有跡象表明上來,絕大多數存在兩個誤區:
java.lang.IllegalArgumentException: Incompatible data types for: variable
,而更常見的有:
com.thinkaurelius.titan.core.TitanException: Could not commit transaction due to exception during persistence
我如何能解決任何想法這些問題?