Skip to content

Commit

Permalink
timeouts added (no help)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaruch committed Oct 27, 2014
1 parent d53395d commit 7153a30
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,12 @@ class BintrayClientSpec extends Specification {

}

@Ignore
def 'unpublished files can\'t be seen by anonymous'() {
setup:
def ver = bintray.currentSubject().repository(REPO_NAME).createPkg(pkgBuilder).createVersion(versionBuilder)

when:
Thread.sleep(1000) //wait for previous deletions to propagate
ver.upload(this.files)
"https://dl.bintray.com/$connectionProperties.username/$REPO_NAME/${files.keySet().first()}".toURL().content
then:
Expand All @@ -302,12 +302,12 @@ class BintrayClientSpec extends Specification {
'825e3b98f996498803d8e2da9d834f392fcfc304' == sha1
}

@Ignore
def 'discard artifacts'(){
setup:
VersionHandle ver = bintray.currentSubject().repository(REPO_NAME).createPkg(pkgBuilder).createVersion(versionBuilder).upload(this.files)
when:
ver.discard()
Thread.sleep(1000) //wait for propogation to dl and stuff
"https://dl.bintray.com/$connectionProperties.username/$REPO_NAME/${files.keySet().first()}".toURL().content
then:
thrown FileNotFoundException
Expand Down

0 comments on commit 7153a30

Please sign in to comment.