+/* Allow default Trash Life time to be used. Thus, the newly created block
+ will not be deleted becuase its Mtime is within the trash life time.
+*/
+func TestTrashWorkerIntegration_SameLocatorInTwoVolumesWithDefaultTrashLifeTime(t *testing.T) {
+ testData := TrashWorkerTestData{
+ Locator1: TEST_HASH,
+ Block1: TEST_BLOCK,
+
+ Locator2: TEST_HASH_2,
+ Block2: TEST_BLOCK_2,
+
+ CreateData: true,
+ CreateInVolume1: true,
+
+ UseTrashLifeTime: true,
+
+ DeleteLocator: TEST_HASH, // locator 1
+
+ // Since trash life time is in effect, block won't be deleted.
+ ExpectLocator1: true,
+ ExpectLocator2: true,
+ }
+ performTrashWorkerTest(testData, t)
+}
+