aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Farner <wfar...@apache.org>
Subject Review Request 63670: Add a test for storage durability
Date Wed, 08 Nov 2017 16:13:29 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/63670/
-----------------------------------------------------------

Review request for Aurora and Jordan Ly.


Repository: aurora


Description
-------

Introduces a new test that validates the durability of the storage system as a whole.  Since
we cannot count on loading the mesos JNI lib, a `FakeLog` is introduced to represent the durable
layer.  Additionally, the high-level nature of this test should allow it to serve as a conformance
test when new storage layer implementations are added.

I also removed the `Comparable` interface from `Log.Position`, as it was never used.


Diffs
-----

  src/main/java/org/apache/aurora/scheduler/log/Log.java dc77eb435e5f8fdce56727a2f679e8e1907e977c

  src/main/java/org/apache/aurora/scheduler/log/mesos/MesosLog.java 21855e184fe20dc339713978b32344b6950701ec

  src/test/java/org/apache/aurora/scheduler/app/SchedulerIT.java 67a0d5a7da90dc01b7a962c2f21730b4be06895a

  src/test/java/org/apache/aurora/scheduler/log/mesos/MesosLogTest.java f142f545799d64f9352b0ac6c51942eedf5e9ced

  src/test/java/org/apache/aurora/scheduler/storage/log/DurableStorageTest.java PRE-CREATION

  src/test/java/org/apache/aurora/scheduler/storage/log/FakeLog.java PRE-CREATION 


Diff: https://reviews.apache.org/r/63670/diff/1/


Testing
-------


Thanks,

Bill Farner


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message