[
https://issues.apache.org/jira/browse/GEODE-935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15252262#comment-15252262
]
ASF GitHub Bot commented on GEODE-935:
--------------------------------------
GitHub user nabarunnag opened a pull request:
https://github.com/apache/incubator-geode/pull/133
GEODE-935: Removed the sleeps to speed up tests.
* The sleeps in the test cases were removed as the awaitility clause in the
subsequent validate region size waits for at max 30 sec.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nabarunnag/incubator-geode feature/GEODE-935
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-geode/pull/133.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #133
----
commit 3efe4ac517fd7248eb651d33c293d322cf762bd0
Author: nabarun <[email protected]>
Date: 2016-04-20T18:14:26Z
GEODE-935: Removed the sleeps to speed up tests.
* The sleeps in the test cases were removed as the awaitility clause in the
subsequent validate region size waits for at max 30 sec.
----
> CI failure:
> SerialWANPropogationDUnitTest.testReplicatedSerialPropagation_withoutRemoteSite
> -------------------------------------------------------------------------------------------
>
> Key: GEODE-935
> URL: https://issues.apache.org/jira/browse/GEODE-935
> Project: Geode
> Issue Type: Bug
> Reporter: Sai Boorlagadda
> Assignee: Dan Smith
> Labels: CI, Flaky
>
> {noformat}
> Error Message
> com.gemstone.gemfire.test.dunit.RMIException: While invoking
> com.gemstone.gemfire.internal.cache.wan.WANTestBase.validateRegionSize in VM
> 2 running on Host cc6-co6.gemstone.com with 8 VMs
> Stacktrace
> com.gemstone.gemfire.test.dunit.RMIException: While invoking
> com.gemstone.gemfire.internal.cache.wan.WANTestBase.validateRegionSize in VM
> 2 running on Host cc6-co6.gemstone.com with 8 VMs
> at com.gemstone.gemfire.test.dunit.VM.invoke(VM.java:171)
> at
> com.gemstone.gemfire.internal.cache.wan.serial.SerialWANPropogationDUnitTest.testReplicatedSerialPropagation_withoutRemoteSite(SerialWANPropogationDUnitTest.java:162)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at junit.framework.TestCase.runTest(TestCase.java:176)
> at junit.framework.TestCase.runBare(TestCase.java:141)
> at junit.framework.TestResult$1.protect(TestResult.java:122)
> at junit.framework.TestResult.runProtected(TestResult.java:142)
> at junit.framework.TestResult.run(TestResult.java:125)
> at junit.framework.TestCase.run(TestCase.java:129)
> at junit.framework.TestSuite.runTest(TestSuite.java:252)
> at junit.framework.TestSuite.run(TestSuite.java:247)
> at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
> at
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105)
> at
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56)
> at
> org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64)
> at
> org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
> at
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
> at
> org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
> at
> org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
> at com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
> at
> org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
> at
> org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
> at
> org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
> at
> org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
> at
> org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: junit.framework.AssertionFailedError: Event never occurred after
> 240000 ms: Expected region entries: 1000 but actual entries: 600 present
> region keyset [879, 970, 557, 449, 937, 923, 737, 655, 837, 765, 613, 486,
> 476, 495, 893, 674, 620, 503, 774, 830, 758, 660, 603, 876, 610, 809, 403,
> 956, 564, 802, 431, 582, 865, 646, 420, 951, 662, 739, 841, 965, 467, 746,
> 848, 728, 673, 701, 914, 999, 711, 683, 690, 708, 984, 927, 638, 584, 784,
> 819, 546, 909, 520, 900, 574, 565, 791, 781, 631, 980, 887, 869, 411, 537,
> 894, 757, 413, 612, 866, 680, 654, 621, 766, 468, 838, 973, 849, 602, 461,
> 447, 645, 945, 547, 502, 439, 630, 868, 810, 509, 454, 840, 877, 801, 859,
> 747, 421, 402, 812, 528, 952, 556, 652, 783, 994, 718, 991, 709, 700, 756,
> 625, 475, 867, 691, 792, 858, 632, 899, 682, 895, 962, 604, 514, 727, 489,
> 412, 663, 405, 482, 593, 611, 521, 639, 990, 618, 820, 906, 934, 773, 763,
> 446, 811, 430, 955, 829, 748, 734, 644, 886, 846, 474, 853, 576, 898, 916,
> 972, 692, 510, 496, 935, 768, 419, 562, 672, 426, 775, 917, 741, 555, 469,
> 719, 488, 583, 678, 983, 653, 926, 569, 440, 548, 433, 839, 455, 755, 541,
> 681, 963, 597, 860, 534, 789, 782, 590, 944, 992, 907, 749, 591, 527, 671,
> 497, 685, 513, 460, 764, 619, 633, 650, 643, 483, 404, 735, 726, 657, 796,
> 954, 522, 803, 982, 720, 664, 480, 418, 473, 713, 776, 554, 432, 577, 996,
> 754, 847, 563, 501, 706, 568, 540, 535, 831, 989, 861, 605, 549, 670, 904,
> 817, 699, 925, 740, 911, 897, 939, 874, 743, 932, 818, 750, 684, 665, 452,
> 889, 599, 491, 905, 417, 761, 507, 804, 888, 832, 634, 606, 918, 721, 790,
> 463, 651, 974, 526, 445, 656, 707, 953, 967, 444, 946, 875, 753, 627, 995,
> 770, 453, 543, 947, 481, 698, 500, 938, 777, 924, 712, 725, 589, 508, 890,
> 910, 732, 523, 427, 795, 960, 679, 823, 516, 976, 596, 896, 624, 571, 424,
> 472, 462, 981, 693, 434, 834, 578, 550, 788, 816, 805, 607, 826, 715, 883,
> 560, 499, 742, 648, 669, 450, 862, 880, 617, 920, 919, 833, 416, 515, 751,
> 443, 762, 722, 551, 492, 798, 542, 457, 676, 933, 478, 913, 490, 961, 626,
> 975, 485, 406, 855, 873, 579, 532, 561, 845, 769, 677, 666, 697, 852, 966,
> 733, 745, 738, 704, 464, 425, 998, 824, 533, 659, 731, 694, 891, 987, 635,
> 435, 787, 588, 977, 854, 687, 863, 815, 471, 570, 959, 598, 752, 580, 649,
> 723, 882, 484, 778, 442, 451, 498, 505, 407, 912, 545, 696, 948, 881, 566,
> 465, 573, 797, 668, 844, 552, 642, 658, 531, 969, 714, 616, 538, 559, 524,
> 806, 941, 930, 903, 958, 807, 493, 518, 800, 986, 730, 825, 456, 779, 415,
> 814, 401, 949, 539, 902, 793, 587, 525, 988, 760, 872, 641, 636, 821, 479,
> 695, 615, 705, 629, 622, 786, 594, 686, 767, 828, 470, 667, 601, 703, 878,
> 581, 772, 504, 835, 530, 614, 409, 978, 940, 744, 717, 506, 997, 544, 710,
> 968, 850, 408, 843, 558, 429, 608, 511, 871, 567, 864, 553, 436, 857, 422,
> 724, 931, 572, 921, 441, 628, 971, 901, 609, 459, 623, 487, 856, 985, 964,
> 637, 943, 892, 808, 957, 494, 794, 647, 908, 836, 661, 885, 517, 466, 519,
> 640, 595, 400, 448, 600, 929, 950, 884, 759, 936, 512, 813, 536, 414, 822,
> 410, 689, 529, 702, 922, 688, 477, 799, 585, 915, 438, 771, 586, 780, 428,
> 437, 729, 942, 458, 736, 675, 575, 979, 716, 851, 928, 423, 827, 842, 592,
> 993, 870, 785]
> at junit.framework.Assert.fail(Assert.java:57)
> at junit.framework.TestCase.fail(TestCase.java:227)
> at
> com.gemstone.gemfire.test.dunit.DistributedTestCase.waitForCriterion(DistributedTestCase.java:1134)
> at
> com.gemstone.gemfire.internal.cache.wan.WANTestBase.validateRegionSize(WANTestBase.java:3672)
> at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at hydra.MethExecutor.execute(MethExecutor.java:198)
> at
> com.gemstone.gemfire.test.dunit.standalone.RemoteDUnitVM.executeMethodOnClass(RemoteDUnitVM.java:118)
> at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
> at sun.rmi.transport.Transport$1.run(Transport.java:200)
> at sun.rmi.transport.Transport$1.run(Transport.java:197)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
> at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
> at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
> at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$95(TCPTransport.java:683)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
> ... 3 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)