private Offer createOffer(double cpus, double memory) {
return createOffer(cpus, memory, "slave1", "host1");
}
private Offer createOffer(double cpus, double memory, String slave, String host) {
SlaveID slaveId = SlaveID.newBuilder().setValue(slave).build();
FrameworkID frameworkId = FrameworkID.newBuilder().setValue("framework1").build();
Random r = new Random();
return Offer.newBuilder()