similar to: teardown not cleaning the BD?

Displaying 20 results from an estimated 100 matches similar to: "teardown not cleaning the BD?"

2006 May 19
1
Need help with a test
Hi, I have this controller method that I need to test: def link_concept_to_client concept_to_link = Concept.find(params[:concept_id]) # take all the variations for the concept for variation in concept_to_link.variations new_client_variation = ClientVariation.new new_client_variation.client = session[:active_client] new_client_variation.variation = variation
2006 May 06
6
assert_raises --> how does it work?
Hi, I have this code fragment: def test_delete_concept assert_not_nil Concept.find(concepts(:entreprise).id) get :delete_concept, {:concept_id => concepts(:entreprise).id} assert_raises :RecordNotFound, Concept.find(concepts(:entreprise).id) end basicaly, on the first line, I make sure that the concept exist in the DB. On the second line I delete the concept fron the DB.
2006 May 20
3
Navigation between DB Items with active Record
Hi, I am having troubles to figure out how to move from one record to the other without using <find_by_sql> or other ugly tricks. So far, I have managed to do a lot of stuff without it but I decided that I need to learn how it works this weekend! So I need your help to figure that out... I have the following 4 models: class Client < ActiveRecord::Base has_many :client_variations
2010 Jul 23
5
install on raid1
Hi All, I'm currently trying to install centos 5.4 x86-64bit on a raid 1, so if one the 2 disks fails the server will still be available. i installed grub on /dev/sda using the advanced grub configuration option during the install. after the install is done i boot in linux rescue mode , chroot the filesystem and copy grub to both drives using: grub>root (hd0,0) grub>setup (hd0)
2020 Feb 19
3
Disk faillure on DC
Hi all, again, I ask for your help. I have a domain with 2DC's running samba 4.10.6. The disk on the DC holding the FSMO's failed. I recovered most of it from backups, and reinstalled samba hopping to rejoin it to the domain. However, when I try # kinit administrator #samba-tool domain join eurohidra.local DC -Uadministrator I get #Could not find machine account in secrets database: Failed
2003 Dec 25
0
BD, the lions muzzles
stefan australis pragmatic fireside credulity clank rosemary exchequer worrisome o build moonlight paragon celsius exchequer toil unction melanesia springtail commutate imminent uhf cowpoke christopher shoestring
2020 Jun 26
4
Quedarse con las muestras de una BD que están presentes otra, basado en dos variables
Buenas tardes, quedarme con las muestras de una BD (data) que están presentes en otra (datax), cuando se tiene una variable que nunca se repite (Key) es fácil: data <- subset(data,data$Key %in% datax$Key). Mi problema es cuando la exclusividad viene dada por dos variables. P.e., las coordenadas de un mapa: lon y lat. ¿Como puedo quedarme con las muestras de una df cuya lon y lat son iguales a
2008 Sep 12
0
cucumber setup and teardown
Hi all, I added a section to Cucumber''s wiki about converting StoryListeners into Cucumber''s API. Since I''m still learning my self I''d appreciate it if someone could look at what I wrote and make sure I didn''t miss anything. http://github.com/aslakhellesoy/cucumber/wikis/migration-from-rspec-stories I was also wondering if Cucumber''s API has
2013 Oct 30
0
2013 Rails Rumble Gem Teardown
Hi guys. I just finished writing up my analysis of the gems used in the 2013 Rails Rumble: http://www.dwellable.com/blog/Rails-Rumble-Gem-Teardown The Rails Rumble organizers were kind enough to let me look at the Gemfiles submitted by 221 teams. I spent a couple of days digging into the data. I was able to answer questions like: - Are people turning off turbolinks? - Haml vs. Slim - fight!
2018 Jan 10
0
[PATCH] drm/nouveau/bar/gk20a: Avoid bar teardown during init
On Thu, Jan 04, 2018 at 11:29:09AM +0000, Jon Hunter wrote: > Commit bbb163e18960 ("drm/nouveau/bar: implement bar1 teardown") > introduced add a teardown helper function for BAR1. During > initialisation of the Nouveau, initially all the teardown helpers are > called once, before calling their init counterparts. For gk20a, after > the BAR1 teardown function is called, the
2018 Jan 26
0
[PATCH v3] drm/nouveau: Move irq setup/teardown to pci ctor/dtor
On Thu, Jan 25, 2018 at 06:29:53PM -0500, Lyude Paul wrote: > This was made apparent by what appeared to be a regression in the > mainline kernel that started introducing suspend/resume issues for > nouveau: > > a0c9259dc4e1 (irq/matrix: Spread interrupts on allocation) I'm just a dumb user here, but I confirm: CPU: AMD Phenom II X6 1055T, GPU: GTX 560 Ti 100% fail to
2019 Sep 03
0
[PATCH v2 08/27] drm/dp_mst: Remove PDT teardown in drm_dp_destroy_port() and refactor
This will allow us to add some locking for port->* members, in particular the PDT and ->connector, which can't be done from drm_dp_destroy_port() since we don't know what locks the caller might be holding. Changes since v2: * Clarify commit message Cc: Juston Li <juston.li at intel.com> Cc: Imre Deak <imre.deak at intel.com> Cc: Ville Syrjälä <ville.syrjala at
2018 Sep 06
0
[PATCH] bochs: convert to drm_fb_helper_fbdev_setup/teardown
Hi, > > You can probably get rid of this one if you're refactoring even more. The > > generic fb_probe implementation (already merged) plus gem-shmem support > > for it (still in flight) from Noralf should be able to pull that off. That > > gives you the fb_mmap implementation, but with 100% generic code instead > > of a driver specific hack like Max did. >
2020 Feb 06
1
[PATCH 2/4] drm/virtio: resource teardown tweaks
> > - > > - drm_gem_shmem_free_object(obj); > > + if (bo->created) { > > + virtio_gpu_cmd_unref_resource(vgdev, bo); > > + /* completion handler calls virtio_gpu_cleanup_object() */ > nitpick: we don't need this comment when virtio_gpu_cmd_unref_cb is > defined by this file and passed to
2019 Oct 22
0
[PATCH v5 02/14] drm/dp_mst: Remove PDT teardown in drm_dp_destroy_port() and refactor
This will allow us to add some locking for port->* members, in particular the PDT and ->connector, which can't be done from drm_dp_destroy_port() since we don't know what locks the caller might be holding. Note that we already do this in delayed_destroy_work (renamed from destroy_connector_work in this patch) for ports, we're just making it so mstbs are also destroyed in this
2020 Feb 07
0
[PATCH v2 2/4] drm/virtio: resource teardown tweaks
Add new virtio_gpu_cleanup_object() helper function for object cleanup. Wire up callback function for resource unref, do cleanup from callback when we know the host stopped using the resource. Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> --- drivers/gpu/drm/virtio/virtgpu_drv.h | 4 +++- drivers/gpu/drm/virtio/virtgpu_object.c | 19 +++++++++++-----
2020 Feb 05
0
[PATCH 3/4] drm/virtio: move mapping teardown to virtio_gpu_cleanup_object()
Stop sending DETACH_BACKING commands, that will happening anyway when releasing resources via UNREF. Handle guest-side cleanup in virtio_gpu_cleanup_object(), called when the host finished processing the UNREF command. Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> --- drivers/gpu/drm/virtio/virtgpu_drv.h | 2 -- drivers/gpu/drm/virtio/virtgpu_object.c | 14 ++++++--
2020 Feb 07
0
[PATCH v2 3/4] drm/virtio: move mapping teardown to virtio_gpu_cleanup_object()
Stop sending DETACH_BACKING commands, that will happening anyway when releasing resources via UNREF. Handle guest-side cleanup in virtio_gpu_cleanup_object(), called when the host finished processing the UNREF command. Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> --- drivers/gpu/drm/virtio/virtgpu_drv.h | 2 -- drivers/gpu/drm/virtio/virtgpu_object.c | 14 ++++++--
2016 Feb 29
4
problema al importar una BD que esta en formato de SPSS
Estimados, tengo que hacer un calculo muy simple, pero con una BD mas o menos grande (250mil filas x 500 columnas) ... esta BD esta en formato de SPSS y la importo asi: library(foreign) bdr <- read.spss("CASEN_2013_MN_B_Principal.sav", use.value.labels=FALSE, to.data.frame=TRUE) luego, quiero transformar el DF en un data.tale pues el calculo requiere obtener promedios de
2020 Feb 05
0
[PATCH 2/4] drm/virtio: resource teardown tweaks
On Wed, Feb 5, 2020 at 3:00 AM Gerd Hoffmann <kraxel at redhat.com> wrote: > > Add new virtio_gpu_cleanup_object() helper function for object cleanup. > Wire up callback function for resource unref, do cleanup from callback > when we know the host stopped using the resource. > > Signed-off-by: Gerd Hoffmann <kraxel at redhat.com> > --- >