fixed undeterministic serialization test on clang
This commit is contained in:
1 parent
82b0d5ce5f
commit
e77f2c91d7
1 file changed
+3
-1
@@ -716,7 +716,9 @@ void testArraySizeType() {
|
||||
serializationFieldTest(s);
|
||||
|
||||
PVStructurePtr pvs = getPVDataCreate()->createPVStructure(s);
|
||||
pvs->getSubField<PVArray>("fixedArray")->setLength(10);
|
||||
PVDoubleArray::shared_pointer pvDA = pvs->getSubField<PVDoubleArray>("fixedArray");
|
||||
PVDoubleArray::svector vec(10, 42);
|
||||
pvDA->replace(freeze(vec));
|
||||
serializationTest(pvs);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user