jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds] marker should be null when there are no more items (#822)
Date Tue, 21 Jul 2015 18:49:40 GMT
> @@ -187,6 +187,8 @@ public void testListContainerMarker() throws InterruptedException
{
>                 container);
>           assert container.getNextMarker() == null;
>  
> +         container = view.getBlobStore().list(containerName, afterMarker("z"));
> +         assert container.getNextMarker() == null;

Could you write this as `assertThat(container.getNextMarker()).isNotNull()` for a more informative
error message?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/822/files#r35139182
Mime
View raw message