public void Constructed_select_query_uses_default_when_CommandTimeout_not_configured_and_can_be_changed() { using (var context = new ChipsContext(_fixture.ServiceProvider)) { var commandBuilder = SetupCommandBuilder(); var command = commandBuilder.Build(context.GetService <IRelationalConnection>(), new Dictionary <string, object>()); Assert.Equal(new SqliteCommand().CommandTimeout, command.CommandTimeout); context.Database.SetCommandTimeout(77); var command2 = commandBuilder.Build(context.GetService <IRelationalConnection>(), new Dictionary <string, object>()); Assert.Equal(77, command2.CommandTimeout); } }