Skip to content

Commit

Permalink
Merge pull request #2129 from krzycz/test_fix_timeouts
Browse files Browse the repository at this point in the history
test: fix timeout in obj_async_postcommit
  • Loading branch information
krzycz committed Jul 17, 2017
2 parents 6897bd5 + 797ae7b commit 1791644
Show file tree
Hide file tree
Showing 28 changed files with 39 additions and 29 deletions.
2 changes: 1 addition & 1 deletion src/test/obj_async_postcommit/TEST0
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export UNITTEST_NUM=0
. ../unittest/unittest.sh

require_test_type medium
require_fs_type any
require_fs_type pmem

setup

Expand Down
4 changes: 2 additions & 2 deletions src/test/obj_async_postcommit/TEST0.PS1
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ $ENV:UNITTEST_NUM = "0"
# standard unit test setup
. ..\unittest\unittest.ps1

require_test_type short
require_fs_type any
require_test_type medium
require_fs_type pmem

setup

Expand Down
1 change: 1 addition & 0 deletions src/test/obj_convert/TEST0
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export UNITTEST_NUM=0
# standard unit test setup
. ../unittest/unittest.sh

require_command gdb
require_test_type medium

# must be non-static debug release of the binary because the test relies on the
Expand Down
4 changes: 2 additions & 2 deletions src/test/obj_convert/TEST1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
# Copyright 2016, Intel Corporation
# Copyright 2016-2017, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -40,8 +40,8 @@ export UNITTEST_NUM=1
# standard unit test setup
. ../unittest/unittest.sh

require_command gdb
require_test_type medium

require_fs_type any

setup
Expand Down
1 change: 1 addition & 0 deletions src/test/obj_convert/TEST11
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export UNITTEST_NUM=11
# standard unit test setup
. ../unittest/unittest.sh

require_command gdb
require_test_type medium

# must be non-static debug release of the binary because the test relies on the
Expand Down
1 change: 1 addition & 0 deletions src/test/obj_convert/TEST12
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export UNITTEST_NUM=12
# standard unit test setup
. ../unittest/unittest.sh

require_command gdb
require_test_type medium

# must be non-static debug release of the binary because the test relies on the
Expand Down
1 change: 1 addition & 0 deletions src/test/obj_convert/TEST13
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export UNITTEST_NUM=13
# standard unit test setup
. ../unittest/unittest.sh

require_command gdb
require_test_type long

# must be non-static debug release of the binary because the test relies on the
Expand Down
1 change: 1 addition & 0 deletions src/test/obj_convert/TEST14
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export UNITTEST_NUM=14
# standard unit test setup
. ../unittest/unittest.sh

require_command gdb
require_test_type medium

# must be non-static debug release of the binary because the test relies on the
Expand Down
1 change: 1 addition & 0 deletions src/test/obj_convert/TEST15
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export UNITTEST_NUM=15
# standard unit test setup
. ../unittest/unittest.sh

require_command gdb
require_test_type medium

# must be non-static debug release of the binary because the test relies on the
Expand Down
1 change: 1 addition & 0 deletions src/test/obj_convert/TEST16
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export UNITTEST_NUM=16
# standard unit test setup
. ../unittest/unittest.sh

require_command gdb
require_test_type medium

# must be non-static debug release of the binary because the test relies on the
Expand Down
1 change: 1 addition & 0 deletions src/test/obj_convert/TEST17
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export UNITTEST_NUM=17
# standard unit test setup
. ../unittest/unittest.sh

require_command gdb
require_test_type long

# must be non-static debug release of the binary because the test relies on the
Expand Down
1 change: 1 addition & 0 deletions src/test/obj_convert/TEST18
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export UNITTEST_NUM=18
# standard unit test setup
. ../unittest/unittest.sh

require_command gdb
require_test_type medium

# must be non-static debug release of the binary because the test relies on the
Expand Down
1 change: 1 addition & 0 deletions src/test/obj_convert/TEST19
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export UNITTEST_NUM=19
# standard unit test setup
. ../unittest/unittest.sh

require_command gdb
require_test_type long

# must be non-static debug release of the binary because the test relies on the
Expand Down
4 changes: 2 additions & 2 deletions src/test/obj_convert/TEST2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
# Copyright 2016, Intel Corporation
# Copyright 2016-2017, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -40,8 +40,8 @@ export UNITTEST_NUM=2
# standard unit test setup
. ../unittest/unittest.sh

require_command gdb
require_test_type medium

require_fs_type any

setup
Expand Down
4 changes: 2 additions & 2 deletions src/test/obj_convert/TEST3
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
# Copyright 2015-2016, Intel Corporation
# Copyright 2015-2017, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -43,8 +43,8 @@ export UNITTEST_NUM=3
LOG=out${UNITTEST_NUM}.log
rm -rf $LOG && touch $LOG

require_command gdb
require_test_type medium

require_build_type debug
require_fs_type non-pmem

Expand Down
4 changes: 2 additions & 2 deletions src/test/obj_convert/TEST4
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
# Copyright 2015-2016, Intel Corporation
# Copyright 2015-2017, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -43,8 +43,8 @@ export UNITTEST_NUM=4
LOG=out${UNITTEST_NUM}.log
rm -rf $LOG && touch $LOG

require_command gdb
require_test_type medium

require_build_type debug
require_fs_type non-pmem

Expand Down
3 changes: 2 additions & 1 deletion src/test/obj_pvector/TEST0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
# Copyright 2015-2016, Intel Corporation
# Copyright 2015-2017, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -41,6 +41,7 @@ export UNITTEST_NUM=0
. ../unittest/unittest.sh

require_test_type medium
require_fs_type pmem

setup

Expand Down
3 changes: 1 addition & 2 deletions src/test/obj_pvector/TEST0.PS1
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ $ENV:UNITTEST_NUM = "0"
. ..\unittest\unittest.ps1

require_test_type medium

require_fs_type any
require_fs_type pmem

setup

Expand Down
2 changes: 1 addition & 1 deletion src/test/pmempool_info/out10.log.match
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Machine : $(*)
Checksum : $(*) [OK]

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(*)
Number of lanes : $(*)
Heap offset : $(*)
Expand Down
2 changes: 1 addition & 1 deletion src/test/pmempool_info/out11.log.match
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Machine : $(*)
Checksum : $(*) [OK]

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(*)
Number of lanes : $(*)
Heap offset : $(*)
Expand Down
2 changes: 1 addition & 1 deletion src/test/pmempool_info/out12.log.match
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Machine : $(*)
Checksum : $(*) [OK]

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(*)
Number of lanes : $(*)
Heap offset : $(*)
Expand Down
2 changes: 1 addition & 1 deletion src/test/pmempool_info/out13.log.match
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Machine : $(*)
Checksum : $(*) [OK]

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(*)
Number of lanes : $(*)
Heap offset : $(*)
Expand Down
8 changes: 4 additions & 4 deletions src/test/pmempool_info/out14.log.match
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Machine : $(*)
Checksum : $(*) [OK]

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(*)
Number of lanes : $(*)
Heap offset : $(*)
Expand Down Expand Up @@ -148,7 +148,7 @@ Machine : $(*)
Checksum : $(*) [OK]

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(*)
Number of lanes : $(*)
Heap offset : $(*)
Expand Down Expand Up @@ -196,7 +196,7 @@ Machine : $(*)
Checksum : $(*) [OK]

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(*)
Number of lanes : $(*)
Heap offset : $(*)
Expand Down Expand Up @@ -244,7 +244,7 @@ Machine : $(*)
Checksum : $(*) [OK]

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(*)
Number of lanes : $(*)
Heap offset : $(*)
Expand Down
4 changes: 2 additions & 2 deletions src/test/pmempool_info/out15.log.match
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Machine : $(*)
Checksum : $(*) [OK]

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(*)
Number of lanes : $(*)
Heap offset : $(*)
Expand Down Expand Up @@ -58,7 +58,7 @@ Machine : $(*)
Checksum : $(*) [OK]

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(*)
Number of lanes : $(*)
Heap offset : $(*)
Expand Down
2 changes: 1 addition & 1 deletion src/test/pmempool_info/out16.log.match
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Machine : $(*)
Checksum : $(*) [OK]

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(*)
Number of lanes : $(*)
Heap offset : $(*)
Expand Down
2 changes: 1 addition & 1 deletion src/test/pmempool_info/out16w.log.match
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Machine : $(*)
Checksum : $(*) [OK]

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(*)
Number of lanes : $(*)
Heap offset : $(*)
Expand Down
4 changes: 2 additions & 2 deletions src/test/pmempool_info/out18.log.match
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Machine : AMD X86-64
Checksum : $(*)

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(nW)
Number of lanes : $(nW)
Heap offset : $(nW)
Expand Down Expand Up @@ -58,7 +58,7 @@ Machine : AMD X86-64
Checksum : $(*)

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(nW)
Number of lanes : $(nW)
Heap offset : $(nW)
Expand Down
2 changes: 1 addition & 1 deletion src/test/pmempool_info/out19.log.match
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Machine : AMD X86-64
Checksum : $(*)

PMEM OBJ Header:
Layout : pmempool😘⠝⠧⠍⠇ɗNVMLӜ⥺🙋
Layout : pmempool$(*)
Lanes offset : $(nW)
Number of lanes : $(nW)
Heap offset : $(nW)
Expand Down

0 comments on commit 1791644

Please sign in to comment.