@@ -80,7 +80,7 @@ func createDirectoryStructureForTestCase(t *testing.T, testCaseDir string) {
80
80
// Test_OpenDirAndLookUp helps in detecting the deadlock when
81
81
// OpenDir() and LookUpInode() request for same directory comes in parallel.
82
82
func (s * concurrentListingTest ) Test_OpenDirAndLookUp (t * testing.T ) {
83
- t .Parallel () // Mark the test parallelizable.
83
+ // t.Parallel() // Mark the test parallelizable.
84
84
testCaseDir := "Test_OpenDirAndLookUp"
85
85
createDirectoryStructureForTestCase (t , testCaseDir )
86
86
targetDir := path .Join (testDirPath , testCaseDir , "explicitDir" )
@@ -127,7 +127,7 @@ func (s *concurrentListingTest) Test_OpenDirAndLookUp(t *testing.T) {
127
127
// Test_Parallel_ReadDirAndLookUp tests for potential deadlocks or race conditions when
128
128
// ReadDir() is called concurrently with LookUp of same dir.
129
129
func (s * concurrentListingTest ) Test_Parallel_ReadDirAndLookUp (t * testing.T ) {
130
- t .Parallel () // Mark the test parallelizable.
130
+ // t.Parallel() // Mark the test parallelizable.
131
131
testCaseDir := "Test_Parallel_ReadDirAndLookUp"
132
132
createDirectoryStructureForTestCase (t , testCaseDir )
133
133
targetDir := path .Join (testDirPath , testCaseDir , "explicitDir" )
@@ -177,7 +177,7 @@ func (s *concurrentListingTest) Test_Parallel_ReadDirAndLookUp(t *testing.T) {
177
177
// Test_MultipleConcurrentReadDir tests for potential deadlocks or race conditions
178
178
// when multiple goroutines call Readdir() concurrently on the same directory.
179
179
func (s * concurrentListingTest ) Test_MultipleConcurrentReadDir (t * testing.T ) {
180
- t .Parallel () // Mark the test parallelizable.
180
+ // t.Parallel() // Mark the test parallelizable.
181
181
testCaseDir := "Test_MultipleConcurrentReadDir"
182
182
createDirectoryStructureForTestCase (t , testCaseDir )
183
183
targetDir := path .Join (testDirPath , testCaseDir , "explicitDir" )
@@ -222,7 +222,7 @@ func (s *concurrentListingTest) Test_MultipleConcurrentReadDir(t *testing.T) {
222
222
// Test_Parallel_ReadDirAndFileOperations detects race conditions and deadlocks when one goroutine
223
223
// performs Readdir() while another concurrently creates and deletes files in the same directory.
224
224
func (s * concurrentListingTest ) Test_Parallel_ReadDirAndFileOperations (t * testing.T ) {
225
- t .Parallel () // Mark the test parallelizable.
225
+ // t.Parallel() // Mark the test parallelizable.
226
226
testCaseDir := "Test_Parallel_ReadDirAndFileOperations"
227
227
createDirectoryStructureForTestCase (t , testCaseDir )
228
228
targetDir := path .Join (testDirPath , testCaseDir , "explicitDir" )
@@ -287,7 +287,7 @@ func (s *concurrentListingTest) Test_Parallel_ReadDirAndFileOperations(t *testin
287
287
// Test_Parallel_ReadDirAndDirOperations tests for potential deadlocks or race conditions when
288
288
// ReadDir() is called concurrently with directory creation and deletion operations.
289
289
func (s * concurrentListingTest ) Test_Parallel_ReadDirAndDirOperations (t * testing.T ) {
290
- t .Parallel () // Mark the test parallelizable.
290
+ // t.Parallel() // Mark the test parallelizable.
291
291
testCaseDir := "Test_Parallel_ReadDirAndDirOperations"
292
292
createDirectoryStructureForTestCase (t , testCaseDir )
293
293
targetDir := path .Join (testDirPath , testCaseDir , "explicitDir" )
@@ -349,7 +349,7 @@ func (s *concurrentListingTest) Test_Parallel_ReadDirAndDirOperations(t *testing
349
349
// Test_Parallel_ReadDirAndFileEdit tests for potential deadlocks or race conditions when
350
350
// ReadDir() is called concurrently with modification of underneath file.
351
351
func (s * concurrentListingTest ) Test_Parallel_ReadDirAndFileEdit (t * testing.T ) {
352
- t .Parallel () // Mark the test parallelizable.
352
+ // t.Parallel() // Mark the test parallelizable.
353
353
testCaseDir := "Test_Parallel_ListDirAndFileEdit"
354
354
createDirectoryStructureForTestCase (t , testCaseDir )
355
355
targetDir := path .Join (testDirPath , testCaseDir , "explicitDir" )
@@ -410,7 +410,7 @@ func (s *concurrentListingTest) Test_Parallel_ReadDirAndFileEdit(t *testing.T) {
410
410
// Test_MultipleConcurrentOperations tests for potential deadlocks or race conditions when
411
411
// listing, file or folder operations, stat, opendir, file modifications happening concurrently.
412
412
func (s * concurrentListingTest ) Test_MultipleConcurrentOperations (t * testing.T ) {
413
- t .Parallel () // Mark the test parallelizable.
413
+ // t.Parallel() // Mark the test parallelizable.
414
414
testCaseDir := "Test_MultipleConcurrentOperations"
415
415
createDirectoryStructureForTestCase (t , testCaseDir )
416
416
targetDir := path .Join (testDirPath , testCaseDir , "explicitDir" )
@@ -513,7 +513,7 @@ func (s *concurrentListingTest) Test_MultipleConcurrentOperations(t *testing.T)
513
513
// Test_ListWithMoveFile tests for potential deadlocks or race conditions when
514
514
// listing, file or folder operations, move file happening concurrently.
515
515
func (s * concurrentListingTest ) Test_ListWithMoveFile (t * testing.T ) {
516
- t .Parallel () // Mark the test parallelizable.
516
+ // t.Parallel() // Mark the test parallelizable.
517
517
testCaseDir := "Test_ListWithMoveFile"
518
518
createDirectoryStructureForTestCase (t , testCaseDir )
519
519
targetDir := path .Join (testDirPath , testCaseDir , "explicitDir" )
@@ -570,7 +570,7 @@ func (s *concurrentListingTest) Test_ListWithMoveFile(t *testing.T) {
570
570
// Test_ListWithMoveDir tests for potential deadlocks or race conditions when
571
571
// listing, file or folder operations, move dir happening concurrently.
572
572
func (s * concurrentListingTest ) Test_ListWithMoveDir (t * testing.T ) {
573
- t .Parallel () // Mark the test parallelizable.
573
+ // t.Parallel() // Mark the test parallelizable.
574
574
testCaseDir := "Test_ListWithMoveDir"
575
575
createDirectoryStructureForTestCase (t , testCaseDir )
576
576
targetDir := path .Join (testDirPath , testCaseDir , "explicitDir" )
0 commit comments