[ 
https://issues.apache.org/jira/browse/SENTRY-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15829229#comment-15829229
 ] 

Vamsee Yarlagadda commented on SENTRY-1296:
-------------------------------------------

Do we know when was the last time we saw this failing? I tried running this 
particular test on my local machine and was not able to reproduce even with 50 
continuous iterations.

{code}
MacBook-Pro:sentry-provider-db vamsee$ sh runTest.sh 
Re-Running test -- COUNT: 1
Re-Running test -- COUNT: 2
Re-Running test -- COUNT: 3
Re-Running test -- COUNT: 4
Re-Running test -- COUNT: 5
Re-Running test -- COUNT: 6
Re-Running test -- COUNT: 7
Re-Running test -- COUNT: 8
Re-Running test -- COUNT: 9
Re-Running test -- COUNT: 10
Re-Running test -- COUNT: 11
Re-Running test -- COUNT: 12
Re-Running test -- COUNT: 13
Re-Running test -- COUNT: 14
Re-Running test -- COUNT: 15
Re-Running test -- COUNT: 16
Re-Running test -- COUNT: 17
Re-Running test -- COUNT: 18
Re-Running test -- COUNT: 19
Re-Running test -- COUNT: 20
Re-Running test -- COUNT: 21
Re-Running test -- COUNT: 22
Re-Running test -- COUNT: 23
Re-Running test -- COUNT: 24
Re-Running test -- COUNT: 25
Re-Running test -- COUNT: 26
Re-Running test -- COUNT: 27
Re-Running test -- COUNT: 28
Re-Running test -- COUNT: 29
Re-Running test -- COUNT: 30
Re-Running test -- COUNT: 31
Re-Running test -- COUNT: 32
Re-Running test -- COUNT: 33
Re-Running test -- COUNT: 34
Re-Running test -- COUNT: 35
Re-Running test -- COUNT: 36
Re-Running test -- COUNT: 37
Re-Running test -- COUNT: 38
Re-Running test -- COUNT: 39
Re-Running test -- COUNT: 40
Re-Running test -- COUNT: 41
Re-Running test -- COUNT: 42
Re-Running test -- COUNT: 43
Re-Running test -- COUNT: 44
Re-Running test -- COUNT: 45
Re-Running test -- COUNT: 46
Re-Running test -- COUNT: 47
Re-Running test -- COUNT: 48
Re-Running test -- COUNT: 49
Re-Running test -- COUNT: 50
Re-Running test -- COUNT: 51
Re-Running test -- COUNT: 52
Re-Running test -- COUNT: 53
{code}

I wrote a small script that executes the above test over and over checking for 
failure.
{code}
MacBook-Pro:sentry-provider-db vamsee$ cat runTest.sh 
#!/bin/bash -x
count=1
while [[ `mvn clean test 
-Dtest=TestPrivilegeOperatePersistence#testGrantPrivilegeExternalComponentInvalidConf`
 ]]; do
  echo "Re-Running test -- COUNT: $count"
  count=`expr $count + 1`
done  
{code}

> Flaky test: 
> TestPrivilegeOperatePersistence.testGrantPrivilegeExternalComponentInvalidConf
> ------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-1296
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1296
>             Project: Sentry
>          Issue Type: Test
>            Reporter: Sravya Tirukkovalur
>            Priority: Blocker
>
> Seems like above test is failing very frequently in the past few days.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to