Search in sources :

Example 66 with BucketId

use of com.yahoo.document.BucketId in project vespa by vespa-engine.

the class MessageSequencingTest method stat_bucket_message_is_not_sequenced.

@Test
public void stat_bucket_message_is_not_sequenced() {
    StatBucketMessage message = new StatBucketMessage(new BucketId(16, 1), "");
    assertFalse(message.hasSequenceId());
}
Also used : BucketId(com.yahoo.document.BucketId) Test(org.junit.Test)

Example 67 with BucketId

use of com.yahoo.document.BucketId in project vespa by vespa-engine.

the class MessageSequencingTest method get_bucket_list_message_is_not_sequenced.

@Test
public void get_bucket_list_message_is_not_sequenced() {
    GetBucketListMessage message = new GetBucketListMessage(new BucketId(16, 1));
    assertFalse(message.hasSequenceId());
}
Also used : BucketId(com.yahoo.document.BucketId) Test(org.junit.Test)

Aggregations

BucketId (com.yahoo.document.BucketId)67 BucketIdFactory (com.yahoo.document.BucketIdFactory)25 Test (org.junit.Test)24 ProgressToken (com.yahoo.documentapi.ProgressToken)22 VisitorIterator (com.yahoo.documentapi.VisitorIterator)19 DocumentId (com.yahoo.document.DocumentId)10 ClusterState (com.yahoo.vdslib.state.ClusterState)6 GetBucketListReply (com.yahoo.documentapi.messagebus.protocol.GetBucketListReply)5 Error (com.yahoo.messagebus.Error)5 TreeSet (java.util.TreeSet)5 MessageBusVisitorSession (com.yahoo.documentapi.messagebus.MessageBusVisitorSession)4 ParseException (com.yahoo.document.select.parser.ParseException)3 com.yahoo.documentapi (com.yahoo.documentapi)3 LoadType (com.yahoo.documentapi.messagebus.loadtypes.LoadType)3 com.yahoo.documentapi.messagebus.protocol (com.yahoo.documentapi.messagebus.protocol)3 com.yahoo.messagebus (com.yahoo.messagebus)3 Result (com.yahoo.messagebus.Result)3 Route (com.yahoo.messagebus.routing.Route)3 RouteSpec (com.yahoo.messagebus.routing.RouteSpec)3 RoutingTable (com.yahoo.messagebus.routing.RoutingTable)3